@@ -21,25 +21,16 @@ service Msg {
21
21
22
22
// MsgDeliverInbound defines an SDK message for delivering an eventual send
23
23
message MsgDeliverInbound {
24
- option (gogoproto.equal ) = false ;
25
-
26
- repeated string messages = 1 [
27
- (gogoproto.jsontag ) = "messages" ,
28
- (gogoproto.moretags ) = "yaml:\"messages\""
29
- ];
30
- repeated uint64 nums = 2 [
31
- (gogoproto.jsontag ) = "nums" ,
32
- (gogoproto.moretags ) = "yaml:\"nums\""
33
- ];
34
- uint64 ack = 3 [
35
- (gogoproto.jsontag ) = "ack" ,
36
- (gogoproto.moretags ) = "yaml:\"ack\""
37
- ];
38
- bytes submitter = 4 [
39
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
40
- (gogoproto.jsontag ) = "submitter" ,
41
- (gogoproto.moretags ) = "yaml:\"submitter\""
42
- ];
24
+ option (gogoproto.equal ) = false ;
25
+
26
+ repeated string messages = 1 [(gogoproto.jsontag ) = "messages", (gogoproto.moretags) = "yaml:\"messages\"" ];
27
+ repeated uint64 nums = 2 [(gogoproto.jsontag ) = "nums", (gogoproto.moretags) = "yaml:\"nums\"" ];
28
+ uint64 ack = 3 [(gogoproto.jsontag ) = "ack", (gogoproto.moretags) = "yaml:\"ack\"" ];
29
+ bytes submitter = 4 [
30
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
31
+ (gogoproto.jsontag ) = "submitter" ,
32
+ (gogoproto.moretags ) = "yaml:\"submitter\""
33
+ ];
43
34
}
44
35
45
36
// MsgDeliverInboundResponse is an empty reply.
@@ -49,16 +40,16 @@ message MsgDeliverInboundResponse {}
49
40
// action that *does not* spend any assets (other than gas fees/stamps). This
50
41
// message type is typically protected by feegrant budgets.
51
42
message MsgWalletAction {
52
- option (gogoproto.equal ) = false ;
43
+ option (gogoproto.equal ) = false ;
53
44
54
- bytes owner = 1 [
55
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
56
- (gogoproto.jsontag ) = "owner" ,
57
- (gogoproto.moretags ) = "yaml:\"owner\""
58
- ];
45
+ bytes owner = 1 [
46
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
47
+ (gogoproto.jsontag ) = "owner" ,
48
+ (gogoproto.moretags ) = "yaml:\"owner\""
49
+ ];
59
50
60
- // The action to perform, as JSON-stringified marshalled data.
61
- string action = 2 ;
51
+ // The action to perform, as JSON-stringified marshalled data.
52
+ string action = 2 ;
62
53
}
63
54
64
55
// MsgWalletActionResponse is an empty reply.
@@ -68,70 +59,60 @@ message MsgWalletActionResponse {}
68
59
// perform an action that *does spend the owner's assets.* This message type is
69
60
// typically protected by explicit confirmation by the user.
70
61
message MsgWalletSpendAction {
71
- option (gogoproto.equal ) = false ;
62
+ option (gogoproto.equal ) = false ;
72
63
73
- bytes owner = 1 [
74
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
75
- (gogoproto.jsontag ) = "owner" ,
76
- (gogoproto.moretags ) = "yaml:\"owner\""
77
- ];
64
+ bytes owner = 1 [
65
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
66
+ (gogoproto.jsontag ) = "owner" ,
67
+ (gogoproto.moretags ) = "yaml:\"owner\""
68
+ ];
78
69
79
- // The action to perform, as JSON-stringified marshalled data.
80
- string spend_action = 2 ;
70
+ // The action to perform, as JSON-stringified marshalled data.
71
+ string spend_action = 2 ;
81
72
}
82
73
83
74
// MsgWalletSpendActionResponse is an empty reply.
84
75
message MsgWalletSpendActionResponse {}
85
76
86
77
// MsgProvision defines an SDK message for provisioning a client to the chain
87
78
message MsgProvision {
88
- option (gogoproto.equal ) = false ;
89
-
90
- string nickname = 1 [
91
- (gogoproto.jsontag ) = "nickname" ,
92
- (gogoproto.moretags ) = "yaml:\"nickname\""
93
- ];
94
- bytes address = 2 [
95
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
96
- (gogoproto.jsontag ) = "address" ,
97
- (gogoproto.moretags ) = "yaml:\"address\""
98
- ];
99
- repeated string power_flags = 3 [
100
- (gogoproto.customname ) = "PowerFlags" ,
101
- (gogoproto.jsontag ) = "powerFlags" ,
102
- (gogoproto.moretags ) = "yaml:\"powerFlags\""
103
- ];
104
- bytes submitter = 4 [
105
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
106
- (gogoproto.jsontag ) = "submitter" ,
107
- (gogoproto.moretags ) = "yaml:\"submitter\""
108
- ];
79
+ option (gogoproto.equal ) = false ;
80
+
81
+ string nickname = 1 [(gogoproto.jsontag ) = "nickname", (gogoproto.moretags) = "yaml:\"nickname\"" ];
82
+ bytes address = 2 [
83
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
84
+ (gogoproto.jsontag ) = "address" ,
85
+ (gogoproto.moretags ) = "yaml:\"address\""
86
+ ];
87
+ repeated string power_flags = 3 [
88
+ (gogoproto.customname ) = "PowerFlags" ,
89
+ (gogoproto.jsontag ) = "powerFlags" ,
90
+ (gogoproto.moretags ) = "yaml:\"powerFlags\""
91
+ ];
92
+ bytes submitter = 4 [
93
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
94
+ (gogoproto.jsontag ) = "submitter" ,
95
+ (gogoproto.moretags ) = "yaml:\"submitter\""
96
+ ];
109
97
}
110
98
111
99
// MsgProvisionResponse is an empty reply.
112
100
message MsgProvisionResponse {}
113
101
114
102
// MsgInstallBundle carries a signed bundle to SwingSet.
115
103
message MsgInstallBundle {
116
- string bundle = 1 [
117
- (gogoproto.jsontag ) = "bundle" ,
118
- (gogoproto.moretags ) = "yaml:\"bundle\""
119
- ];
120
- bytes submitter = 2 [
121
- (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
122
- (gogoproto.jsontag ) = "submitter" ,
123
- (gogoproto.moretags ) = "yaml:\"submitter\""
124
- ];
125
- // Either bundle or compressed_bundle will be set.
126
- // Default compression algorithm is gzip.
127
- bytes compressed_bundle = 3 [
128
- (gogoproto.jsontag ) = "compressedBundle" ,
129
- (gogoproto.moretags ) = "yaml:\"compressedBundle\""
130
- ];
131
- // Size in bytes of uncompression of compressed_bundle.
132
- int64 uncompressed_size = 4 [
133
- (gogoproto.jsontag ) = "uncompressedSize"
134
- ];
104
+ string bundle = 1 [(gogoproto.jsontag ) = "bundle", (gogoproto.moretags) = "yaml:\"bundle\"" ];
105
+ bytes submitter = 2 [
106
+ (gogoproto.casttype ) = "github.com/cosmos/cosmos-sdk/types.AccAddress" ,
107
+ (gogoproto.jsontag ) = "submitter" ,
108
+ (gogoproto.moretags ) = "yaml:\"submitter\""
109
+ ];
110
+ // Either bundle or compressed_bundle will be set.
111
+ // Default compression algorithm is gzip.
112
+ bytes compressed_bundle = 3
113
+ [(gogoproto.jsontag ) = "compressedBundle", (gogoproto.moretags) = "yaml:\"compressedBundle\"" ];
114
+ // Size in bytes of uncompression of compressed_bundle.
115
+ int64 uncompressed_size = 4 [(gogoproto.jsontag ) = "uncompressedSize" ];
135
116
}
136
117
137
118
// MsgInstallBundleResponse is an empty acknowledgement that an install bundle
0 commit comments