cosmos-sdk/tx/textual/internal/testdata/repeated.json
2022-11-29 16:37:29 +00:00

161 lines
5.7 KiB
JSON

[
{
"proto": {},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0}
]
},
{
"proto": {
"messages": [
{
"full_name": "thing one",
"nickname": ":thing two"
}
]
},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "Messages: 1 Foo", "indent": 1},
{"text": "Messages (1/1): Foo object", "indent": 2},
{"text": "Full name: thing one", "indent": 3},
{"text": "Nickname: :thing two", "indent": 3},
{"text": "End of Messages", "indent": 1}
]
},
{
"proto": {
"messages": [
{
"full_name": "thing one",
"nickname": "thing two"
},
{
"full_name": "thing three",
"nickname": "thing four"
}
]
},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "Messages: 2 Foo", "indent": 1},
{"text": "Messages (1/2): Foo object", "indent": 2},
{"text": "Full name: thing one", "indent": 3},
{"text": "Nickname: thing two", "indent": 3},
{"text": "Messages (2/2): Foo object", "indent": 2},
{"text": "Full name: thing three", "indent": 3},
{"text": "Nickname: thing four", "indent": 3},
{"text": "End of Messages", "indent": 1}
]
},
{
"proto": {
"string_messages": [
"/OmniFlix.onft.v1beta1.MsgTransferONFT"
]
},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "String messages: 1 String", "indent": 1},
{"text": "String messages (1/1): /OmniFlix.onft.v1beta1.MsgTransferONFT", "indent": 2},
{"text": "End of String messages", "indent": 1}
]
},
{
"proto": {
"string_messages": [
"/OmniFlix.onft.v1beta1.MsgTransferONFT",
"/OmniFlix.onft.v1beta1.MsgBurnONFT",
"/OmniFlix.marketplace.v1beta1.MsgListNFT"
]
},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "String messages: 3 String", "indent": 1},
{"text": "String messages (1/3): /OmniFlix.onft.v1beta1.MsgTransferONFT", "indent": 2},
{"text": "String messages (2/3): /OmniFlix.onft.v1beta1.MsgBurnONFT", "indent": 2},
{"text": "String messages (3/3): /OmniFlix.marketplace.v1beta1.MsgListNFT", "indent": 2},
{"text": "End of String messages", "indent": 1}
]
},
{
"proto": {
"vote" : {
"proposal_id": 4,
"voter": "cosmos1abc...def",
"options": [
{
"option": "Yes",
"weight": "0.7"
},
{
"option": "No",
"weight": "0.3"
}
]
}
},
"parses": false,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "Vote: Ballot object", "indent": 1},
{"text": "Proposal id: 4", "indent": 2},
{"text": "Voter: cosmos1abc...def", "indent": 2},
{"text": "Options: 2 WeightedBallotOption", "indent": 2},
{"text": "Options (1/2): WeightedBallotOption object", "indent": 3},
{"text": "Option: Yes", "indent": 4},
{"text": "Weight: 0.7", "indent": 4},
{"text": "Options (2/2): WeightedBallotOption object", "indent": 3},
{"text": "Option: No", "indent": 4},
{"text": "Weight: 0.3", "indent": 4},
{"text": "End of Options", "indent": 2}
]
},
{
"proto": {
"price": [
{ "amount": "1", "denom": "ucosm" },
{ "amount": "3", "denom": "ustake" }
]
},
"parses": false,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "Price: 1 ucosm, 3 ustake", "indent": 1}
]
},
{
"proto": {
"expirations": [
{"seconds": 0, "nanos": 1},
{"seconds": 0, "nanos": 10},
{"seconds": 0, "nanos": 100},
{"seconds": 0, "nanos": 1000},
{"seconds": 0, "nanos": 10000},
{"seconds": 0, "nanos": 100000},
{"seconds": 0, "nanos": 1000000},
{"seconds": 0, "nanos": 10000000}
]
},
"parses": true,
"screens": [
{"text": "Qux object", "indent": 0},
{"text": "Expirations: 8 Timestamp", "indent": 1},
{"text": "Expirations (1/8): 1970-01-01T00:00:00.000000001Z", "indent": 2},
{"text": "Expirations (2/8): 1970-01-01T00:00:00.00000001Z", "indent": 2},
{"text": "Expirations (3/8): 1970-01-01T00:00:00.0000001Z", "indent": 2},
{"text": "Expirations (4/8): 1970-01-01T00:00:00.000001Z", "indent": 2},
{"text": "Expirations (5/8): 1970-01-01T00:00:00.00001Z", "indent": 2},
{"text": "Expirations (6/8): 1970-01-01T00:00:00.0001Z", "indent": 2},
{"text": "Expirations (7/8): 1970-01-01T00:00:00.001Z", "indent": 2},
{"text": "Expirations (8/8): 1970-01-01T00:00:00.01Z", "indent": 2},
{"text": "End of Expirations", "indent": 1}
]
}
]