@bze/bzejs 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/package.json +1 -1
  2. package/types/codegen/amino/amino.d.ts +1 -0
  3. package/types/codegen/amino/bundle.d.ts +1 -0
  4. package/types/codegen/beezee/burner/query.d.ts +0 -1
  5. package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
  6. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
  7. package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
  8. package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
  9. package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
  10. package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
  11. package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
  12. package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
  13. package/types/codegen/bze/bundle.d.ts +247 -3513
  14. package/types/codegen/confio/proofs.d.ts +439 -0
  15. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
  16. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
  17. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
  18. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
  19. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
  20. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
  21. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
  22. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
  23. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
  24. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
  25. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
  26. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
  27. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
  28. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
  29. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  30. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
  31. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
  32. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
  33. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
  34. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
  35. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
  36. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
  37. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
  38. package/types/codegen/cosmos/bundle.d.ts +3223 -41279
  39. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
  40. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
  41. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
  42. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
  43. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
  44. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
  45. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
  46. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
  47. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
  48. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  49. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
  50. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
  51. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
  52. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
  53. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
  54. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
  55. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
  56. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
  57. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
  58. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
  59. package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
  60. package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
  61. package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
  62. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  63. package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
  64. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
  65. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
  66. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
  67. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  68. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  69. package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
  70. package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
  71. package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
  72. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
  73. package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
  74. package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
  75. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
  76. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
  77. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
  78. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
  79. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
  80. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
  81. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
  82. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
  83. package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
  84. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
  85. package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
  86. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
  87. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
  88. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
  89. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
  90. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
  91. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
  92. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
  93. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
  94. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  95. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
  96. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
  97. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
  98. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
  99. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
  100. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  101. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
  102. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
  103. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
  104. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
  105. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
  106. package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
  107. package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
  108. package/types/codegen/google/api/http.d.ts +0 -55
  109. package/types/codegen/google/bundle.d.ts +284 -7810
  110. package/types/codegen/google/protobuf/any.d.ts +0 -30
  111. package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
  112. package/types/codegen/google/protobuf/duration.d.ts +1 -14
  113. package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
  114. package/types/codegen/helpers.d.ts +2 -2
  115. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  116. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
  117. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  119. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
  120. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  121. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  124. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
  125. package/types/codegen/ibc/bundle.d.ts +4077 -0
  126. package/types/codegen/ibc/client.d.ts +560 -0
  127. package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
  128. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
  129. package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
  130. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  131. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  132. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  133. package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  136. package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
  137. package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
  138. package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
  139. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  140. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  141. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  142. package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
  143. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  144. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  145. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  146. package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
  147. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
  148. package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
  149. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  150. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  151. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  152. package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  155. package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
  156. package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
  157. package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
  158. package/types/codegen/ibc/lcd.d.ts +75 -0
  159. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
  161. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
  162. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
  163. package/types/codegen/ibc/rpc.query.d.ts +243 -0
  164. package/types/codegen/ibc/rpc.tx.d.ts +65 -0
  165. package/types/codegen/ics23/bundle.d.ts +545 -0
  166. package/types/codegen/index.d.ts +5 -2
  167. package/types/codegen/tendermint/abci/types.d.ts +8 -78
  168. package/types/codegen/tendermint/bundle.d.ts +567 -18175
  169. package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
  170. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  171. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  172. package/types/codegen/tendermint/types/params.d.ts +0 -32
  173. package/types/codegen/tendermint/types/types.d.ts +5 -36
  174. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  175. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
3
- export interface AminoMsgCreateGroup extends AminoMsg {
3
+ export interface MsgCreateGroupAminoType extends AminoMsg {
4
4
  type: "cosmos-sdk/MsgCreateGroup";
5
5
  value: {
6
6
  admin: string;
@@ -16,7 +16,7 @@ export interface AminoMsgCreateGroup extends AminoMsg {
16
16
  metadata: string;
17
17
  };
18
18
  }
19
- export interface AminoMsgUpdateGroupMembers extends AminoMsg {
19
+ export interface MsgUpdateGroupMembersAminoType extends AminoMsg {
20
20
  type: "cosmos-sdk/MsgUpdateGroupMembers";
21
21
  value: {
22
22
  admin: string;
@@ -32,7 +32,7 @@ export interface AminoMsgUpdateGroupMembers extends AminoMsg {
32
32
  }[];
33
33
  };
34
34
  }
35
- export interface AminoMsgUpdateGroupAdmin extends AminoMsg {
35
+ export interface MsgUpdateGroupAdminAminoType extends AminoMsg {
36
36
  type: "cosmos-sdk/MsgUpdateGroupAdmin";
37
37
  value: {
38
38
  admin: string;
@@ -40,7 +40,7 @@ export interface AminoMsgUpdateGroupAdmin extends AminoMsg {
40
40
  new_admin: string;
41
41
  };
42
42
  }
43
- export interface AminoMsgUpdateGroupMetadata extends AminoMsg {
43
+ export interface MsgUpdateGroupMetadataAminoType extends AminoMsg {
44
44
  type: "cosmos-sdk/MsgUpdateGroupMetadata";
45
45
  value: {
46
46
  admin: string;
@@ -48,7 +48,7 @@ export interface AminoMsgUpdateGroupMetadata extends AminoMsg {
48
48
  metadata: string;
49
49
  };
50
50
  }
51
- export interface AminoMsgCreateGroupPolicy extends AminoMsg {
51
+ export interface MsgCreateGroupPolicyAminoType extends AminoMsg {
52
52
  type: "cosmos-sdk/MsgCreateGroupPolicy";
53
53
  value: {
54
54
  admin: string;
@@ -60,7 +60,7 @@ export interface AminoMsgCreateGroupPolicy extends AminoMsg {
60
60
  };
61
61
  };
62
62
  }
63
- export interface AminoMsgCreateGroupWithPolicy extends AminoMsg {
63
+ export interface MsgCreateGroupWithPolicyAminoType extends AminoMsg {
64
64
  type: "cosmos-sdk/MsgCreateGroupWithPolicy";
65
65
  value: {
66
66
  admin: string;
@@ -82,7 +82,7 @@ export interface AminoMsgCreateGroupWithPolicy extends AminoMsg {
82
82
  };
83
83
  };
84
84
  }
85
- export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg {
85
+ export interface MsgUpdateGroupPolicyAdminAminoType extends AminoMsg {
86
86
  type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin";
87
87
  value: {
88
88
  admin: string;
@@ -90,7 +90,7 @@ export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg {
90
90
  new_admin: string;
91
91
  };
92
92
  }
93
- export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg {
93
+ export interface MsgUpdateGroupPolicyDecisionPolicyAminoType extends AminoMsg {
94
94
  type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy";
95
95
  value: {
96
96
  admin: string;
@@ -101,7 +101,7 @@ export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg {
101
101
  };
102
102
  };
103
103
  }
104
- export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg {
104
+ export interface MsgUpdateGroupPolicyMetadataAminoType extends AminoMsg {
105
105
  type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata";
106
106
  value: {
107
107
  admin: string;
@@ -109,7 +109,7 @@ export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg {
109
109
  metadata: string;
110
110
  };
111
111
  }
112
- export interface AminoMsgSubmitProposal extends AminoMsg {
112
+ export interface MsgSubmitProposalAminoType extends AminoMsg {
113
113
  type: "cosmos-sdk/group/MsgSubmitProposal";
114
114
  value: {
115
115
  address: string;
@@ -122,14 +122,14 @@ export interface AminoMsgSubmitProposal extends AminoMsg {
122
122
  exec: number;
123
123
  };
124
124
  }
125
- export interface AminoMsgWithdrawProposal extends AminoMsg {
125
+ export interface MsgWithdrawProposalAminoType extends AminoMsg {
126
126
  type: "cosmos-sdk/group/MsgWithdrawProposal";
127
127
  value: {
128
128
  proposal_id: string;
129
129
  address: string;
130
130
  };
131
131
  }
132
- export interface AminoMsgVote extends AminoMsg {
132
+ export interface MsgVoteAminoType extends AminoMsg {
133
133
  type: "cosmos-sdk/group/MsgVote";
134
134
  value: {
135
135
  proposal_id: string;
@@ -139,14 +139,14 @@ export interface AminoMsgVote extends AminoMsg {
139
139
  exec: number;
140
140
  };
141
141
  }
142
- export interface AminoMsgExec extends AminoMsg {
142
+ export interface MsgExecAminoType extends AminoMsg {
143
143
  type: "cosmos-sdk/group/MsgExec";
144
144
  value: {
145
145
  proposal_id: string;
146
146
  signer: string;
147
147
  };
148
148
  }
149
- export interface AminoMsgLeaveGroup extends AminoMsg {
149
+ export interface MsgLeaveGroupAminoType extends AminoMsg {
150
150
  type: "cosmos-sdk/group/MsgLeaveGroup";
151
151
  value: {
152
152
  address: string;
@@ -156,72 +156,72 @@ export interface AminoMsgLeaveGroup extends AminoMsg {
156
156
  export declare const AminoConverter: {
157
157
  "/cosmos.group.v1.MsgCreateGroup": {
158
158
  aminoType: string;
159
- toAmino: ({ admin, members, metadata }: MsgCreateGroup) => AminoMsgCreateGroup["value"];
160
- fromAmino: ({ admin, members, metadata }: AminoMsgCreateGroup["value"]) => MsgCreateGroup;
159
+ toAmino: ({ admin, members, metadata }: MsgCreateGroup) => MsgCreateGroupAminoType["value"];
160
+ fromAmino: ({ admin, members, metadata }: MsgCreateGroupAminoType["value"]) => MsgCreateGroup;
161
161
  };
162
162
  "/cosmos.group.v1.MsgUpdateGroupMembers": {
163
163
  aminoType: string;
164
- toAmino: ({ admin, groupId, memberUpdates }: MsgUpdateGroupMembers) => AminoMsgUpdateGroupMembers["value"];
165
- fromAmino: ({ admin, group_id, member_updates }: AminoMsgUpdateGroupMembers["value"]) => MsgUpdateGroupMembers;
164
+ toAmino: ({ admin, groupId, memberUpdates }: MsgUpdateGroupMembers) => MsgUpdateGroupMembersAminoType["value"];
165
+ fromAmino: ({ admin, group_id, member_updates }: MsgUpdateGroupMembersAminoType["value"]) => MsgUpdateGroupMembers;
166
166
  };
167
167
  "/cosmos.group.v1.MsgUpdateGroupAdmin": {
168
168
  aminoType: string;
169
- toAmino: ({ admin, groupId, newAdmin }: MsgUpdateGroupAdmin) => AminoMsgUpdateGroupAdmin["value"];
170
- fromAmino: ({ admin, group_id, new_admin }: AminoMsgUpdateGroupAdmin["value"]) => MsgUpdateGroupAdmin;
169
+ toAmino: ({ admin, groupId, newAdmin }: MsgUpdateGroupAdmin) => MsgUpdateGroupAdminAminoType["value"];
170
+ fromAmino: ({ admin, group_id, new_admin }: MsgUpdateGroupAdminAminoType["value"]) => MsgUpdateGroupAdmin;
171
171
  };
172
172
  "/cosmos.group.v1.MsgUpdateGroupMetadata": {
173
173
  aminoType: string;
174
- toAmino: ({ admin, groupId, metadata }: MsgUpdateGroupMetadata) => AminoMsgUpdateGroupMetadata["value"];
175
- fromAmino: ({ admin, group_id, metadata }: AminoMsgUpdateGroupMetadata["value"]) => MsgUpdateGroupMetadata;
174
+ toAmino: ({ admin, groupId, metadata }: MsgUpdateGroupMetadata) => MsgUpdateGroupMetadataAminoType["value"];
175
+ fromAmino: ({ admin, group_id, metadata }: MsgUpdateGroupMetadataAminoType["value"]) => MsgUpdateGroupMetadata;
176
176
  };
177
177
  "/cosmos.group.v1.MsgCreateGroupPolicy": {
178
178
  aminoType: string;
179
- toAmino: ({ admin, groupId, metadata, decisionPolicy }: MsgCreateGroupPolicy) => AminoMsgCreateGroupPolicy["value"];
180
- fromAmino: ({ admin, group_id, metadata, decision_policy }: AminoMsgCreateGroupPolicy["value"]) => MsgCreateGroupPolicy;
179
+ toAmino: ({ admin, groupId, metadata, decisionPolicy }: MsgCreateGroupPolicy) => MsgCreateGroupPolicyAminoType["value"];
180
+ fromAmino: ({ admin, group_id, metadata, decision_policy }: MsgCreateGroupPolicyAminoType["value"]) => MsgCreateGroupPolicy;
181
181
  };
182
182
  "/cosmos.group.v1.MsgCreateGroupWithPolicy": {
183
183
  aminoType: string;
184
- toAmino: ({ admin, members, groupMetadata, groupPolicyMetadata, groupPolicyAsAdmin, decisionPolicy }: MsgCreateGroupWithPolicy) => AminoMsgCreateGroupWithPolicy["value"];
185
- fromAmino: ({ admin, members, group_metadata, group_policy_metadata, group_policy_as_admin, decision_policy }: AminoMsgCreateGroupWithPolicy["value"]) => MsgCreateGroupWithPolicy;
184
+ toAmino: ({ admin, members, groupMetadata, groupPolicyMetadata, groupPolicyAsAdmin, decisionPolicy }: MsgCreateGroupWithPolicy) => MsgCreateGroupWithPolicyAminoType["value"];
185
+ fromAmino: ({ admin, members, group_metadata, group_policy_metadata, group_policy_as_admin, decision_policy }: MsgCreateGroupWithPolicyAminoType["value"]) => MsgCreateGroupWithPolicy;
186
186
  };
187
187
  "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": {
188
188
  aminoType: string;
189
- toAmino: ({ admin, address, newAdmin }: MsgUpdateGroupPolicyAdmin) => AminoMsgUpdateGroupPolicyAdmin["value"];
190
- fromAmino: ({ admin, address, new_admin }: AminoMsgUpdateGroupPolicyAdmin["value"]) => MsgUpdateGroupPolicyAdmin;
189
+ toAmino: ({ admin, address, newAdmin }: MsgUpdateGroupPolicyAdmin) => MsgUpdateGroupPolicyAdminAminoType["value"];
190
+ fromAmino: ({ admin, address, new_admin }: MsgUpdateGroupPolicyAdminAminoType["value"]) => MsgUpdateGroupPolicyAdmin;
191
191
  };
192
192
  "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": {
193
193
  aminoType: string;
194
- toAmino: ({ admin, address, decisionPolicy }: MsgUpdateGroupPolicyDecisionPolicy) => AminoMsgUpdateGroupPolicyDecisionPolicy["value"];
195
- fromAmino: ({ admin, address, decision_policy }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]) => MsgUpdateGroupPolicyDecisionPolicy;
194
+ toAmino: ({ admin, address, decisionPolicy }: MsgUpdateGroupPolicyDecisionPolicy) => MsgUpdateGroupPolicyDecisionPolicyAminoType["value"];
195
+ fromAmino: ({ admin, address, decision_policy }: MsgUpdateGroupPolicyDecisionPolicyAminoType["value"]) => MsgUpdateGroupPolicyDecisionPolicy;
196
196
  };
197
197
  "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": {
198
198
  aminoType: string;
199
- toAmino: ({ admin, address, metadata }: MsgUpdateGroupPolicyMetadata) => AminoMsgUpdateGroupPolicyMetadata["value"];
200
- fromAmino: ({ admin, address, metadata }: AminoMsgUpdateGroupPolicyMetadata["value"]) => MsgUpdateGroupPolicyMetadata;
199
+ toAmino: ({ admin, address, metadata }: MsgUpdateGroupPolicyMetadata) => MsgUpdateGroupPolicyMetadataAminoType["value"];
200
+ fromAmino: ({ admin, address, metadata }: MsgUpdateGroupPolicyMetadataAminoType["value"]) => MsgUpdateGroupPolicyMetadata;
201
201
  };
202
202
  "/cosmos.group.v1.MsgSubmitProposal": {
203
203
  aminoType: string;
204
- toAmino: ({ address, proposers, metadata, messages, exec }: MsgSubmitProposal) => AminoMsgSubmitProposal["value"];
205
- fromAmino: ({ address, proposers, metadata, messages, exec }: AminoMsgSubmitProposal["value"]) => MsgSubmitProposal;
204
+ toAmino: ({ address, proposers, metadata, messages, exec }: MsgSubmitProposal) => MsgSubmitProposalAminoType["value"];
205
+ fromAmino: ({ address, proposers, metadata, messages, exec }: MsgSubmitProposalAminoType["value"]) => MsgSubmitProposal;
206
206
  };
207
207
  "/cosmos.group.v1.MsgWithdrawProposal": {
208
208
  aminoType: string;
209
- toAmino: ({ proposalId, address }: MsgWithdrawProposal) => AminoMsgWithdrawProposal["value"];
210
- fromAmino: ({ proposal_id, address }: AminoMsgWithdrawProposal["value"]) => MsgWithdrawProposal;
209
+ toAmino: ({ proposalId, address }: MsgWithdrawProposal) => MsgWithdrawProposalAminoType["value"];
210
+ fromAmino: ({ proposal_id, address }: MsgWithdrawProposalAminoType["value"]) => MsgWithdrawProposal;
211
211
  };
212
212
  "/cosmos.group.v1.MsgVote": {
213
213
  aminoType: string;
214
- toAmino: ({ proposalId, voter, option, metadata, exec }: MsgVote) => AminoMsgVote["value"];
215
- fromAmino: ({ proposal_id, voter, option, metadata, exec }: AminoMsgVote["value"]) => MsgVote;
214
+ toAmino: ({ proposalId, voter, option, metadata, exec }: MsgVote) => MsgVoteAminoType["value"];
215
+ fromAmino: ({ proposal_id, voter, option, metadata, exec }: MsgVoteAminoType["value"]) => MsgVote;
216
216
  };
217
217
  "/cosmos.group.v1.MsgExec": {
218
218
  aminoType: string;
219
- toAmino: ({ proposalId, signer }: MsgExec) => AminoMsgExec["value"];
220
- fromAmino: ({ proposal_id, signer }: AminoMsgExec["value"]) => MsgExec;
219
+ toAmino: ({ proposalId, signer }: MsgExec) => MsgExecAminoType["value"];
220
+ fromAmino: ({ proposal_id, signer }: MsgExecAminoType["value"]) => MsgExec;
221
221
  };
222
222
  "/cosmos.group.v1.MsgLeaveGroup": {
223
223
  aminoType: string;
224
- toAmino: ({ address, groupId }: MsgLeaveGroup) => AminoMsgLeaveGroup["value"];
225
- fromAmino: ({ address, group_id }: AminoMsgLeaveGroup["value"]) => MsgLeaveGroup;
224
+ toAmino: ({ address, groupId }: MsgLeaveGroup) => MsgLeaveGroupAminoType["value"];
225
+ fromAmino: ({ address, group_id }: MsgLeaveGroupAminoType["value"]) => MsgLeaveGroup;
226
226
  };
227
227
  };
@@ -1,4 +1,4 @@
1
- import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types";
1
+ import { Member, MemberSDKType, VoteOption } from "./types";
2
2
  import { Any, AnySDKType } from "../../../google/protobuf/any";
3
3
  import * as _m0 from "protobufjs/minimal";
4
4
  import { DeepPartial, Long } from "../../../helpers";
@@ -18,22 +18,7 @@ export declare enum Exec {
18
18
  EXEC_TRY = 1,
19
19
  UNRECOGNIZED = -1
20
20
  }
21
- /** Exec defines modes of execution of a proposal on creation or on new vote. */
22
- export declare enum ExecSDKType {
23
- /**
24
- * EXEC_UNSPECIFIED - An empty value means that there should be a separate
25
- * MsgExec request for the proposal to execute.
26
- */
27
- EXEC_UNSPECIFIED = 0,
28
- /**
29
- * EXEC_TRY - Try to execute the proposal immediately.
30
- * If the proposal is not allowed per the DecisionPolicy,
31
- * the proposal will still be open and could
32
- * be executed at a later point.
33
- */
34
- EXEC_TRY = 1,
35
- UNRECOGNIZED = -1
36
- }
21
+ export declare const ExecSDKType: typeof Exec;
37
22
  export declare function execFromJSON(object: any): Exec;
38
23
  export declare function execToJSON(object: Exec): string;
39
24
  /** MsgCreateGroup is the Msg/CreateGroup request type. */
@@ -47,11 +32,8 @@ export interface MsgCreateGroup {
47
32
  }
48
33
  /** MsgCreateGroup is the Msg/CreateGroup request type. */
49
34
  export interface MsgCreateGroupSDKType {
50
- /** admin is the account address of the group admin. */
51
35
  admin: string;
52
- /** members defines the group members. */
53
36
  members: MemberSDKType[];
54
- /** metadata is any arbitrary metadata to attached to the group. */
55
37
  metadata: string;
56
38
  }
57
39
  /** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
@@ -61,7 +43,6 @@ export interface MsgCreateGroupResponse {
61
43
  }
62
44
  /** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
63
45
  export interface MsgCreateGroupResponseSDKType {
64
- /** group_id is the unique ID of the newly created group. */
65
46
  group_id: Long;
66
47
  }
67
48
  /** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
@@ -78,14 +59,8 @@ export interface MsgUpdateGroupMembers {
78
59
  }
79
60
  /** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
80
61
  export interface MsgUpdateGroupMembersSDKType {
81
- /** admin is the account address of the group admin. */
82
62
  admin: string;
83
- /** group_id is the unique ID of the group. */
84
63
  group_id: Long;
85
- /**
86
- * member_updates is the list of members to update,
87
- * set weight to 0 to remove a member.
88
- */
89
64
  member_updates: MemberSDKType[];
90
65
  }
91
66
  /** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
@@ -105,11 +80,8 @@ export interface MsgUpdateGroupAdmin {
105
80
  }
106
81
  /** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
107
82
  export interface MsgUpdateGroupAdminSDKType {
108
- /** admin is the current account address of the group admin. */
109
83
  admin: string;
110
- /** group_id is the unique ID of the group. */
111
84
  group_id: Long;
112
- /** new_admin is the group new admin account address. */
113
85
  new_admin: string;
114
86
  }
115
87
  /** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
@@ -129,11 +101,8 @@ export interface MsgUpdateGroupMetadata {
129
101
  }
130
102
  /** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
131
103
  export interface MsgUpdateGroupMetadataSDKType {
132
- /** admin is the account address of the group admin. */
133
104
  admin: string;
134
- /** group_id is the unique ID of the group. */
135
105
  group_id: Long;
136
- /** metadata is the updated group's metadata. */
137
106
  metadata: string;
138
107
  }
139
108
  /** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
@@ -155,13 +124,9 @@ export interface MsgCreateGroupPolicy {
155
124
  }
156
125
  /** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
157
126
  export interface MsgCreateGroupPolicySDKType {
158
- /** admin is the account address of the group admin. */
159
127
  admin: string;
160
- /** group_id is the unique ID of the group. */
161
128
  group_id: Long;
162
- /** metadata is any arbitrary metadata attached to the group policy. */
163
129
  metadata: string;
164
- /** decision_policy specifies the group policy's decision policy. */
165
130
  decision_policy?: AnySDKType;
166
131
  }
167
132
  /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
@@ -171,7 +136,6 @@ export interface MsgCreateGroupPolicyResponse {
171
136
  }
172
137
  /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
173
138
  export interface MsgCreateGroupPolicyResponseSDKType {
174
- /** address is the account address of the newly created group policy. */
175
139
  address: string;
176
140
  }
177
141
  /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
@@ -185,11 +149,8 @@ export interface MsgUpdateGroupPolicyAdmin {
185
149
  }
186
150
  /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
187
151
  export interface MsgUpdateGroupPolicyAdminSDKType {
188
- /** admin is the account address of the group admin. */
189
152
  admin: string;
190
- /** address is the account address of the group policy. */
191
153
  address: string;
192
- /** new_admin is the new group policy admin. */
193
154
  new_admin: string;
194
155
  }
195
156
  /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
@@ -209,17 +170,11 @@ export interface MsgCreateGroupWithPolicy {
209
170
  }
210
171
  /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
211
172
  export interface MsgCreateGroupWithPolicySDKType {
212
- /** admin is the account address of the group and group policy admin. */
213
173
  admin: string;
214
- /** members defines the group members. */
215
174
  members: MemberSDKType[];
216
- /** group_metadata is any arbitrary metadata attached to the group. */
217
175
  group_metadata: string;
218
- /** group_policy_metadata is any arbitrary metadata attached to the group policy. */
219
176
  group_policy_metadata: string;
220
- /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */
221
177
  group_policy_as_admin: boolean;
222
- /** decision_policy specifies the group policy's decision policy. */
223
178
  decision_policy?: AnySDKType;
224
179
  }
225
180
  /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
@@ -231,9 +186,7 @@ export interface MsgCreateGroupWithPolicyResponse {
231
186
  }
232
187
  /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
233
188
  export interface MsgCreateGroupWithPolicyResponseSDKType {
234
- /** group_id is the unique ID of the newly created group with policy. */
235
189
  group_id: Long;
236
- /** group_policy_address is the account address of the newly created group policy. */
237
190
  group_policy_address: string;
238
191
  }
239
192
  /** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
@@ -253,11 +206,8 @@ export interface MsgUpdateGroupPolicyDecisionPolicy {
253
206
  }
254
207
  /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
255
208
  export interface MsgUpdateGroupPolicyDecisionPolicySDKType {
256
- /** admin is the account address of the group admin. */
257
209
  admin: string;
258
- /** address is the account address of group policy. */
259
210
  address: string;
260
- /** decision_policy is the updated group policy's decision policy. */
261
211
  decision_policy?: AnySDKType;
262
212
  }
263
213
  /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
@@ -277,11 +227,8 @@ export interface MsgUpdateGroupPolicyMetadata {
277
227
  }
278
228
  /** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
279
229
  export interface MsgUpdateGroupPolicyMetadataSDKType {
280
- /** admin is the account address of the group admin. */
281
230
  admin: string;
282
- /** address is the account address of group policy. */
283
231
  address: string;
284
- /** metadata is the updated group policy metadata. */
285
232
  metadata: string;
286
233
  }
287
234
  /** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
@@ -312,23 +259,11 @@ export interface MsgSubmitProposal {
312
259
  }
313
260
  /** MsgSubmitProposal is the Msg/SubmitProposal request type. */
314
261
  export interface MsgSubmitProposalSDKType {
315
- /** address is the account address of group policy. */
316
262
  address: string;
317
- /**
318
- * proposers are the account addresses of the proposers.
319
- * Proposers signatures will be counted as yes votes.
320
- */
321
263
  proposers: string[];
322
- /** metadata is any arbitrary metadata to attached to the proposal. */
323
264
  metadata: string;
324
- /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
325
265
  messages: AnySDKType[];
326
- /**
327
- * exec defines the mode of execution of the proposal,
328
- * whether it should be executed immediately on creation or not.
329
- * If so, proposers signatures are considered as Yes votes.
330
- */
331
- exec: ExecSDKType;
266
+ exec: Exec;
332
267
  }
333
268
  /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
334
269
  export interface MsgSubmitProposalResponse {
@@ -337,7 +272,6 @@ export interface MsgSubmitProposalResponse {
337
272
  }
338
273
  /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
339
274
  export interface MsgSubmitProposalResponseSDKType {
340
- /** proposal is the unique ID of the proposal. */
341
275
  proposal_id: Long;
342
276
  }
343
277
  /** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
@@ -349,9 +283,7 @@ export interface MsgWithdrawProposal {
349
283
  }
350
284
  /** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
351
285
  export interface MsgWithdrawProposalSDKType {
352
- /** proposal is the unique ID of the proposal. */
353
286
  proposal_id: Long;
354
- /** address is the admin of the group policy or one of the proposer of the proposal. */
355
287
  address: string;
356
288
  }
357
289
  /** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
@@ -378,19 +310,11 @@ export interface MsgVote {
378
310
  }
379
311
  /** MsgVote is the Msg/Vote request type. */
380
312
  export interface MsgVoteSDKType {
381
- /** proposal is the unique ID of the proposal. */
382
313
  proposal_id: Long;
383
- /** voter is the voter account address. */
384
314
  voter: string;
385
- /** option is the voter's choice on the proposal. */
386
- option: VoteOptionSDKType;
387
- /** metadata is any arbitrary metadata to attached to the vote. */
315
+ option: VoteOption;
388
316
  metadata: string;
389
- /**
390
- * exec defines whether the proposal should be executed
391
- * immediately after voting or not.
392
- */
393
- exec: ExecSDKType;
317
+ exec: Exec;
394
318
  }
395
319
  /** MsgVoteResponse is the Msg/Vote response type. */
396
320
  export interface MsgVoteResponse {
@@ -407,9 +331,7 @@ export interface MsgExec {
407
331
  }
408
332
  /** MsgExec is the Msg/Exec request type. */
409
333
  export interface MsgExecSDKType {
410
- /** proposal is the unique ID of the proposal. */
411
334
  proposal_id: Long;
412
- /** signer is the account address used to execute the proposal. */
413
335
  signer: string;
414
336
  }
415
337
  /** MsgExecResponse is the Msg/Exec request type. */
@@ -427,9 +349,7 @@ export interface MsgLeaveGroup {
427
349
  }
428
350
  /** MsgLeaveGroup is the Msg/LeaveGroup request type. */
429
351
  export interface MsgLeaveGroupSDKType {
430
- /** address is the account address of the group member. */
431
352
  address: string;
432
- /** group_id is the unique ID of the group. */
433
353
  group_id: Long;
434
354
  }
435
355
  /** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */