injectivejs 1.6.3 → 1.6.5

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 (95) hide show
  1. package/README.md +230 -24
  2. package/binary.d.ts +1 -1
  3. package/binary.js +1 -1
  4. package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
  5. package/cosmos/authz/v1beta1/tx.registry.js +67 -0
  6. package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
  7. package/cosmos/bank/v1beta1/tx.registry.js +85 -0
  8. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  9. package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  10. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  11. package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  12. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  13. package/cosmos/gov/v1/tx.registry.js +139 -0
  14. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  15. package/cosmos/gov/v1beta1/tx.registry.js +85 -0
  16. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  17. package/cosmos/group/v1/tx.registry.js +265 -0
  18. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  19. package/cosmos/staking/v1beta1/tx.registry.js +139 -0
  20. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  21. package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  22. package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
  23. package/cosmwasm/wasm/v1/tx.registry.js +319 -0
  24. package/esm/binary.js +1 -1
  25. package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
  26. package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
  27. package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
  28. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
  29. package/esm/cosmos/gov/v1/tx.registry.js +136 -0
  30. package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
  31. package/esm/cosmos/group/v1/tx.registry.js +262 -0
  32. package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
  33. package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
  34. package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
  35. package/esm/extern.js +1 -1
  36. package/esm/helper-func-types.js +1 -1
  37. package/esm/helpers.js +1 -1
  38. package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
  39. package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
  40. package/esm/ibc/core/client/v1/tx.registry.js +136 -0
  41. package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
  42. package/esm/injective/auction/v1beta1/tx.registry.js +46 -0
  43. package/esm/injective/exchange/v1beta1/tx.registry.js +640 -0
  44. package/esm/injective/insurance/v1beta1/tx.registry.js +82 -0
  45. package/esm/injective/ocr/v1beta1/tx.registry.js +172 -0
  46. package/esm/injective/oracle/v1beta1/tx.registry.js +154 -0
  47. package/esm/injective/peggy/v1/msgs.registry.js +262 -0
  48. package/esm/injective/permissions/v1beta1/tx.registry.js +136 -0
  49. package/esm/injective/tokenfactory/v1beta1/tx.registry.js +118 -0
  50. package/esm/injective/wasmx/v1/tx.registry.js +118 -0
  51. package/esm/registry.js +1 -1
  52. package/esm/types.js +1 -1
  53. package/esm/utf8.js +1 -1
  54. package/esm/varint.js +1 -1
  55. package/extern.d.ts +1 -1
  56. package/extern.js +1 -1
  57. package/helper-func-types.d.ts +1 -1
  58. package/helper-func-types.js +1 -1
  59. package/helpers.d.ts +1 -1
  60. package/helpers.js +1 -1
  61. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  62. package/ibc/applications/transfer/v1/tx.registry.js +49 -0
  63. package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
  64. package/ibc/core/channel/v1/tx.registry.js +355 -0
  65. package/ibc/core/client/v1/tx.registry.d.ts +95 -0
  66. package/ibc/core/client/v1/tx.registry.js +139 -0
  67. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  68. package/ibc/core/connection/v1/tx.registry.js +103 -0
  69. package/injective/auction/v1beta1/tx.registry.d.ts +35 -0
  70. package/injective/auction/v1beta1/tx.registry.js +49 -0
  71. package/injective/exchange/v1beta1/tx.registry.d.ts +431 -0
  72. package/injective/exchange/v1beta1/tx.registry.js +643 -0
  73. package/injective/insurance/v1beta1/tx.registry.d.ts +59 -0
  74. package/injective/insurance/v1beta1/tx.registry.js +85 -0
  75. package/injective/ocr/v1beta1/tx.registry.d.ts +119 -0
  76. package/injective/ocr/v1beta1/tx.registry.js +175 -0
  77. package/injective/oracle/v1beta1/tx.registry.d.ts +107 -0
  78. package/injective/oracle/v1beta1/tx.registry.js +157 -0
  79. package/injective/peggy/v1/msgs.registry.d.ts +179 -0
  80. package/injective/peggy/v1/msgs.registry.js +265 -0
  81. package/injective/permissions/v1beta1/tx.registry.d.ts +95 -0
  82. package/injective/permissions/v1beta1/tx.registry.js +139 -0
  83. package/injective/tokenfactory/v1beta1/tx.registry.d.ts +83 -0
  84. package/injective/tokenfactory/v1beta1/tx.registry.js +121 -0
  85. package/injective/wasmx/v1/tx.registry.d.ts +83 -0
  86. package/injective/wasmx/v1/tx.registry.js +121 -0
  87. package/package.json +2 -2
  88. package/registry.d.ts +1 -1
  89. package/registry.js +1 -1
  90. package/types.d.ts +1 -1
  91. package/types.js +1 -1
  92. package/utf8.d.ts +1 -1
  93. package/utf8.js +1 -1
  94. package/varint.d.ts +1 -1
  95. package/varint.js +1 -1
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageComposer = exports.registry = void 0;
4
+ const tx_1 = require("./tx");
5
+ exports.registry = [["/cosmos.gov.v1beta1.MsgSubmitProposal", tx_1.MsgSubmitProposal], ["/cosmos.gov.v1beta1.MsgVote", tx_1.MsgVote], ["/cosmos.gov.v1beta1.MsgVoteWeighted", tx_1.MsgVoteWeighted], ["/cosmos.gov.v1beta1.MsgDeposit", tx_1.MsgDeposit]];
6
+ exports.MessageComposer = {
7
+ encoded: {
8
+ submitProposal(value) {
9
+ return {
10
+ typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal",
11
+ value: tx_1.MsgSubmitProposal.encode(value).finish()
12
+ };
13
+ },
14
+ vote(value) {
15
+ return {
16
+ typeUrl: "/cosmos.gov.v1beta1.MsgVote",
17
+ value: tx_1.MsgVote.encode(value).finish()
18
+ };
19
+ },
20
+ voteWeighted(value) {
21
+ return {
22
+ typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted",
23
+ value: tx_1.MsgVoteWeighted.encode(value).finish()
24
+ };
25
+ },
26
+ deposit(value) {
27
+ return {
28
+ typeUrl: "/cosmos.gov.v1beta1.MsgDeposit",
29
+ value: tx_1.MsgDeposit.encode(value).finish()
30
+ };
31
+ }
32
+ },
33
+ withTypeUrl: {
34
+ submitProposal(value) {
35
+ return {
36
+ typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal",
37
+ value
38
+ };
39
+ },
40
+ vote(value) {
41
+ return {
42
+ typeUrl: "/cosmos.gov.v1beta1.MsgVote",
43
+ value
44
+ };
45
+ },
46
+ voteWeighted(value) {
47
+ return {
48
+ typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted",
49
+ value
50
+ };
51
+ },
52
+ deposit(value) {
53
+ return {
54
+ typeUrl: "/cosmos.gov.v1beta1.MsgDeposit",
55
+ value
56
+ };
57
+ }
58
+ },
59
+ fromPartial: {
60
+ submitProposal(value) {
61
+ return {
62
+ typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal",
63
+ value: tx_1.MsgSubmitProposal.fromPartial(value)
64
+ };
65
+ },
66
+ vote(value) {
67
+ return {
68
+ typeUrl: "/cosmos.gov.v1beta1.MsgVote",
69
+ value: tx_1.MsgVote.fromPartial(value)
70
+ };
71
+ },
72
+ voteWeighted(value) {
73
+ return {
74
+ typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted",
75
+ value: tx_1.MsgVoteWeighted.fromPartial(value)
76
+ };
77
+ },
78
+ deposit(value) {
79
+ return {
80
+ typeUrl: "/cosmos.gov.v1beta1.MsgDeposit",
81
+ value: tx_1.MsgDeposit.fromPartial(value)
82
+ };
83
+ }
84
+ }
85
+ };
@@ -0,0 +1,179 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ createGroup(value: MsgCreateGroup): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
19
+ typeUrl: string;
20
+ value: Uint8Array;
21
+ };
22
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
23
+ typeUrl: string;
24
+ value: Uint8Array;
25
+ };
26
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
27
+ typeUrl: string;
28
+ value: Uint8Array;
29
+ };
30
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
31
+ typeUrl: string;
32
+ value: Uint8Array;
33
+ };
34
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
35
+ typeUrl: string;
36
+ value: Uint8Array;
37
+ };
38
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
39
+ typeUrl: string;
40
+ value: Uint8Array;
41
+ };
42
+ submitProposal(value: MsgSubmitProposal): {
43
+ typeUrl: string;
44
+ value: Uint8Array;
45
+ };
46
+ withdrawProposal(value: MsgWithdrawProposal): {
47
+ typeUrl: string;
48
+ value: Uint8Array;
49
+ };
50
+ vote(value: MsgVote): {
51
+ typeUrl: string;
52
+ value: Uint8Array;
53
+ };
54
+ exec(value: MsgExec): {
55
+ typeUrl: string;
56
+ value: Uint8Array;
57
+ };
58
+ leaveGroup(value: MsgLeaveGroup): {
59
+ typeUrl: string;
60
+ value: Uint8Array;
61
+ };
62
+ };
63
+ withTypeUrl: {
64
+ createGroup(value: MsgCreateGroup): {
65
+ typeUrl: string;
66
+ value: MsgCreateGroup;
67
+ };
68
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
69
+ typeUrl: string;
70
+ value: MsgUpdateGroupMembers;
71
+ };
72
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
73
+ typeUrl: string;
74
+ value: MsgUpdateGroupAdmin;
75
+ };
76
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
77
+ typeUrl: string;
78
+ value: MsgUpdateGroupMetadata;
79
+ };
80
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
81
+ typeUrl: string;
82
+ value: MsgCreateGroupPolicy;
83
+ };
84
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
85
+ typeUrl: string;
86
+ value: MsgCreateGroupWithPolicy;
87
+ };
88
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
89
+ typeUrl: string;
90
+ value: MsgUpdateGroupPolicyAdmin;
91
+ };
92
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
93
+ typeUrl: string;
94
+ value: MsgUpdateGroupPolicyDecisionPolicy;
95
+ };
96
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
97
+ typeUrl: string;
98
+ value: MsgUpdateGroupPolicyMetadata;
99
+ };
100
+ submitProposal(value: MsgSubmitProposal): {
101
+ typeUrl: string;
102
+ value: MsgSubmitProposal;
103
+ };
104
+ withdrawProposal(value: MsgWithdrawProposal): {
105
+ typeUrl: string;
106
+ value: MsgWithdrawProposal;
107
+ };
108
+ vote(value: MsgVote): {
109
+ typeUrl: string;
110
+ value: MsgVote;
111
+ };
112
+ exec(value: MsgExec): {
113
+ typeUrl: string;
114
+ value: MsgExec;
115
+ };
116
+ leaveGroup(value: MsgLeaveGroup): {
117
+ typeUrl: string;
118
+ value: MsgLeaveGroup;
119
+ };
120
+ };
121
+ fromPartial: {
122
+ createGroup(value: MsgCreateGroup): {
123
+ typeUrl: string;
124
+ value: MsgCreateGroup;
125
+ };
126
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
127
+ typeUrl: string;
128
+ value: MsgUpdateGroupMembers;
129
+ };
130
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
131
+ typeUrl: string;
132
+ value: MsgUpdateGroupAdmin;
133
+ };
134
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
135
+ typeUrl: string;
136
+ value: MsgUpdateGroupMetadata;
137
+ };
138
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
139
+ typeUrl: string;
140
+ value: MsgCreateGroupPolicy;
141
+ };
142
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
143
+ typeUrl: string;
144
+ value: MsgCreateGroupWithPolicy;
145
+ };
146
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
147
+ typeUrl: string;
148
+ value: MsgUpdateGroupPolicyAdmin;
149
+ };
150
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
151
+ typeUrl: string;
152
+ value: MsgUpdateGroupPolicyDecisionPolicy;
153
+ };
154
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
155
+ typeUrl: string;
156
+ value: MsgUpdateGroupPolicyMetadata;
157
+ };
158
+ submitProposal(value: MsgSubmitProposal): {
159
+ typeUrl: string;
160
+ value: MsgSubmitProposal;
161
+ };
162
+ withdrawProposal(value: MsgWithdrawProposal): {
163
+ typeUrl: string;
164
+ value: MsgWithdrawProposal;
165
+ };
166
+ vote(value: MsgVote): {
167
+ typeUrl: string;
168
+ value: MsgVote;
169
+ };
170
+ exec(value: MsgExec): {
171
+ typeUrl: string;
172
+ value: MsgExec;
173
+ };
174
+ leaveGroup(value: MsgLeaveGroup): {
175
+ typeUrl: string;
176
+ value: MsgLeaveGroup;
177
+ };
178
+ };
179
+ };
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageComposer = exports.registry = void 0;
4
+ const tx_1 = require("./tx");
5
+ exports.registry = [["/cosmos.group.v1.MsgCreateGroup", tx_1.MsgCreateGroup], ["/cosmos.group.v1.MsgUpdateGroupMembers", tx_1.MsgUpdateGroupMembers], ["/cosmos.group.v1.MsgUpdateGroupAdmin", tx_1.MsgUpdateGroupAdmin], ["/cosmos.group.v1.MsgUpdateGroupMetadata", tx_1.MsgUpdateGroupMetadata], ["/cosmos.group.v1.MsgCreateGroupPolicy", tx_1.MsgCreateGroupPolicy], ["/cosmos.group.v1.MsgCreateGroupWithPolicy", tx_1.MsgCreateGroupWithPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", tx_1.MsgUpdateGroupPolicyAdmin], ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", tx_1.MsgUpdateGroupPolicyDecisionPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", tx_1.MsgUpdateGroupPolicyMetadata], ["/cosmos.group.v1.MsgSubmitProposal", tx_1.MsgSubmitProposal], ["/cosmos.group.v1.MsgWithdrawProposal", tx_1.MsgWithdrawProposal], ["/cosmos.group.v1.MsgVote", tx_1.MsgVote], ["/cosmos.group.v1.MsgExec", tx_1.MsgExec], ["/cosmos.group.v1.MsgLeaveGroup", tx_1.MsgLeaveGroup]];
6
+ exports.MessageComposer = {
7
+ encoded: {
8
+ createGroup(value) {
9
+ return {
10
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
11
+ value: tx_1.MsgCreateGroup.encode(value).finish()
12
+ };
13
+ },
14
+ updateGroupMembers(value) {
15
+ return {
16
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
17
+ value: tx_1.MsgUpdateGroupMembers.encode(value).finish()
18
+ };
19
+ },
20
+ updateGroupAdmin(value) {
21
+ return {
22
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
23
+ value: tx_1.MsgUpdateGroupAdmin.encode(value).finish()
24
+ };
25
+ },
26
+ updateGroupMetadata(value) {
27
+ return {
28
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
29
+ value: tx_1.MsgUpdateGroupMetadata.encode(value).finish()
30
+ };
31
+ },
32
+ createGroupPolicy(value) {
33
+ return {
34
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
35
+ value: tx_1.MsgCreateGroupPolicy.encode(value).finish()
36
+ };
37
+ },
38
+ createGroupWithPolicy(value) {
39
+ return {
40
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
41
+ value: tx_1.MsgCreateGroupWithPolicy.encode(value).finish()
42
+ };
43
+ },
44
+ updateGroupPolicyAdmin(value) {
45
+ return {
46
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
47
+ value: tx_1.MsgUpdateGroupPolicyAdmin.encode(value).finish()
48
+ };
49
+ },
50
+ updateGroupPolicyDecisionPolicy(value) {
51
+ return {
52
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
53
+ value: tx_1.MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish()
54
+ };
55
+ },
56
+ updateGroupPolicyMetadata(value) {
57
+ return {
58
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
59
+ value: tx_1.MsgUpdateGroupPolicyMetadata.encode(value).finish()
60
+ };
61
+ },
62
+ submitProposal(value) {
63
+ return {
64
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
65
+ value: tx_1.MsgSubmitProposal.encode(value).finish()
66
+ };
67
+ },
68
+ withdrawProposal(value) {
69
+ return {
70
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
71
+ value: tx_1.MsgWithdrawProposal.encode(value).finish()
72
+ };
73
+ },
74
+ vote(value) {
75
+ return {
76
+ typeUrl: "/cosmos.group.v1.MsgVote",
77
+ value: tx_1.MsgVote.encode(value).finish()
78
+ };
79
+ },
80
+ exec(value) {
81
+ return {
82
+ typeUrl: "/cosmos.group.v1.MsgExec",
83
+ value: tx_1.MsgExec.encode(value).finish()
84
+ };
85
+ },
86
+ leaveGroup(value) {
87
+ return {
88
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
89
+ value: tx_1.MsgLeaveGroup.encode(value).finish()
90
+ };
91
+ }
92
+ },
93
+ withTypeUrl: {
94
+ createGroup(value) {
95
+ return {
96
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
97
+ value
98
+ };
99
+ },
100
+ updateGroupMembers(value) {
101
+ return {
102
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
103
+ value
104
+ };
105
+ },
106
+ updateGroupAdmin(value) {
107
+ return {
108
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
109
+ value
110
+ };
111
+ },
112
+ updateGroupMetadata(value) {
113
+ return {
114
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
115
+ value
116
+ };
117
+ },
118
+ createGroupPolicy(value) {
119
+ return {
120
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
121
+ value
122
+ };
123
+ },
124
+ createGroupWithPolicy(value) {
125
+ return {
126
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
127
+ value
128
+ };
129
+ },
130
+ updateGroupPolicyAdmin(value) {
131
+ return {
132
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
133
+ value
134
+ };
135
+ },
136
+ updateGroupPolicyDecisionPolicy(value) {
137
+ return {
138
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
139
+ value
140
+ };
141
+ },
142
+ updateGroupPolicyMetadata(value) {
143
+ return {
144
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
145
+ value
146
+ };
147
+ },
148
+ submitProposal(value) {
149
+ return {
150
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
151
+ value
152
+ };
153
+ },
154
+ withdrawProposal(value) {
155
+ return {
156
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
157
+ value
158
+ };
159
+ },
160
+ vote(value) {
161
+ return {
162
+ typeUrl: "/cosmos.group.v1.MsgVote",
163
+ value
164
+ };
165
+ },
166
+ exec(value) {
167
+ return {
168
+ typeUrl: "/cosmos.group.v1.MsgExec",
169
+ value
170
+ };
171
+ },
172
+ leaveGroup(value) {
173
+ return {
174
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
175
+ value
176
+ };
177
+ }
178
+ },
179
+ fromPartial: {
180
+ createGroup(value) {
181
+ return {
182
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
183
+ value: tx_1.MsgCreateGroup.fromPartial(value)
184
+ };
185
+ },
186
+ updateGroupMembers(value) {
187
+ return {
188
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
189
+ value: tx_1.MsgUpdateGroupMembers.fromPartial(value)
190
+ };
191
+ },
192
+ updateGroupAdmin(value) {
193
+ return {
194
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
195
+ value: tx_1.MsgUpdateGroupAdmin.fromPartial(value)
196
+ };
197
+ },
198
+ updateGroupMetadata(value) {
199
+ return {
200
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
201
+ value: tx_1.MsgUpdateGroupMetadata.fromPartial(value)
202
+ };
203
+ },
204
+ createGroupPolicy(value) {
205
+ return {
206
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
207
+ value: tx_1.MsgCreateGroupPolicy.fromPartial(value)
208
+ };
209
+ },
210
+ createGroupWithPolicy(value) {
211
+ return {
212
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
213
+ value: tx_1.MsgCreateGroupWithPolicy.fromPartial(value)
214
+ };
215
+ },
216
+ updateGroupPolicyAdmin(value) {
217
+ return {
218
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
219
+ value: tx_1.MsgUpdateGroupPolicyAdmin.fromPartial(value)
220
+ };
221
+ },
222
+ updateGroupPolicyDecisionPolicy(value) {
223
+ return {
224
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
225
+ value: tx_1.MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value)
226
+ };
227
+ },
228
+ updateGroupPolicyMetadata(value) {
229
+ return {
230
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
231
+ value: tx_1.MsgUpdateGroupPolicyMetadata.fromPartial(value)
232
+ };
233
+ },
234
+ submitProposal(value) {
235
+ return {
236
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
237
+ value: tx_1.MsgSubmitProposal.fromPartial(value)
238
+ };
239
+ },
240
+ withdrawProposal(value) {
241
+ return {
242
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
243
+ value: tx_1.MsgWithdrawProposal.fromPartial(value)
244
+ };
245
+ },
246
+ vote(value) {
247
+ return {
248
+ typeUrl: "/cosmos.group.v1.MsgVote",
249
+ value: tx_1.MsgVote.fromPartial(value)
250
+ };
251
+ },
252
+ exec(value) {
253
+ return {
254
+ typeUrl: "/cosmos.group.v1.MsgExec",
255
+ value: tx_1.MsgExec.fromPartial(value)
256
+ };
257
+ },
258
+ leaveGroup(value) {
259
+ return {
260
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
261
+ value: tx_1.MsgLeaveGroup.fromPartial(value)
262
+ };
263
+ }
264
+ }
265
+ };
@@ -0,0 +1,95 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ createValidator(value: MsgCreateValidator): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ editValidator(value: MsgEditValidator): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ delegate(value: MsgDelegate): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ beginRedelegate(value: MsgBeginRedelegate): {
19
+ typeUrl: string;
20
+ value: Uint8Array;
21
+ };
22
+ undelegate(value: MsgUndelegate): {
23
+ typeUrl: string;
24
+ value: Uint8Array;
25
+ };
26
+ cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): {
27
+ typeUrl: string;
28
+ value: Uint8Array;
29
+ };
30
+ updateParams(value: MsgUpdateParams): {
31
+ typeUrl: string;
32
+ value: Uint8Array;
33
+ };
34
+ };
35
+ withTypeUrl: {
36
+ createValidator(value: MsgCreateValidator): {
37
+ typeUrl: string;
38
+ value: MsgCreateValidator;
39
+ };
40
+ editValidator(value: MsgEditValidator): {
41
+ typeUrl: string;
42
+ value: MsgEditValidator;
43
+ };
44
+ delegate(value: MsgDelegate): {
45
+ typeUrl: string;
46
+ value: MsgDelegate;
47
+ };
48
+ beginRedelegate(value: MsgBeginRedelegate): {
49
+ typeUrl: string;
50
+ value: MsgBeginRedelegate;
51
+ };
52
+ undelegate(value: MsgUndelegate): {
53
+ typeUrl: string;
54
+ value: MsgUndelegate;
55
+ };
56
+ cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): {
57
+ typeUrl: string;
58
+ value: MsgCancelUnbondingDelegation;
59
+ };
60
+ updateParams(value: MsgUpdateParams): {
61
+ typeUrl: string;
62
+ value: MsgUpdateParams;
63
+ };
64
+ };
65
+ fromPartial: {
66
+ createValidator(value: MsgCreateValidator): {
67
+ typeUrl: string;
68
+ value: MsgCreateValidator;
69
+ };
70
+ editValidator(value: MsgEditValidator): {
71
+ typeUrl: string;
72
+ value: MsgEditValidator;
73
+ };
74
+ delegate(value: MsgDelegate): {
75
+ typeUrl: string;
76
+ value: MsgDelegate;
77
+ };
78
+ beginRedelegate(value: MsgBeginRedelegate): {
79
+ typeUrl: string;
80
+ value: MsgBeginRedelegate;
81
+ };
82
+ undelegate(value: MsgUndelegate): {
83
+ typeUrl: string;
84
+ value: MsgUndelegate;
85
+ };
86
+ cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): {
87
+ typeUrl: string;
88
+ value: MsgCancelUnbondingDelegation;
89
+ };
90
+ updateParams(value: MsgUpdateParams): {
91
+ typeUrl: string;
92
+ value: MsgUpdateParams;
93
+ };
94
+ };
95
+ };