coreum-js 2.6.5 → 2.6.6
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.
- package/README.md +26 -3
- package/dist/main/coreum/index.d.ts +16 -0
- package/dist/main/coreum/index.js +17 -1
- package/dist/main/cosmos/index.d.ts +161 -0
- package/dist/main/cosmos/index.js +162 -1
- package/dist/main/wasm/v1/index.d.ts +77 -0
- package/dist/main/wasm/v1/index.js +78 -1
- package/dist/module/coreum/index.d.ts +16 -0
- package/dist/module/coreum/index.js +17 -1
- package/dist/module/cosmos/index.d.ts +161 -0
- package/dist/module/cosmos/index.js +162 -1
- package/dist/module/wasm/v1/index.d.ts +77 -0
- package/dist/module/wasm/v1/index.js +78 -1
- package/package.json +1 -1
|
@@ -17,18 +17,36 @@ const vestBaseUrl = "/cosmos.vesting.v1beta1.";
|
|
|
17
17
|
*/
|
|
18
18
|
export var Authz;
|
|
19
19
|
(function (Authz) {
|
|
20
|
+
/** MsgGrant message creator
|
|
21
|
+
* Grants the provided authorization to the grantee on the granter's account with the provided expiration time. If there is already a grant for the given (granter, grantee, Authorization) triple, then the grant will be overwritten.
|
|
22
|
+
*
|
|
23
|
+
* @param object Represents the properties available for this MsgGrant message.
|
|
24
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
25
|
+
*/
|
|
20
26
|
Authz.Grant = function (object) {
|
|
21
27
|
return {
|
|
22
28
|
typeUrl: authzBaseUrl + "MsgGrant",
|
|
23
29
|
value: MsgGrant.fromPartial(object),
|
|
24
30
|
};
|
|
25
31
|
};
|
|
32
|
+
/** MsgExec message creator
|
|
33
|
+
* Attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
|
|
34
|
+
*
|
|
35
|
+
* @param object Represents the properties available for this MsgExec message.
|
|
36
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
37
|
+
*/
|
|
26
38
|
Authz.Exec = function (object) {
|
|
27
39
|
return {
|
|
28
40
|
typeUrl: authzBaseUrl + "MsgExec",
|
|
29
41
|
value: MsgExec.fromPartial(object),
|
|
30
42
|
};
|
|
31
43
|
};
|
|
44
|
+
/** MsgRevoke message creator
|
|
45
|
+
* Revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
|
|
46
|
+
*
|
|
47
|
+
* @param object Represents the properties available for this MsgRevoke message.
|
|
48
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
49
|
+
*/
|
|
32
50
|
Authz.Revoke = function (object) {
|
|
33
51
|
return {
|
|
34
52
|
typeUrl: authzBaseUrl + "MsgRevoke",
|
|
@@ -41,42 +59,82 @@ export var Authz;
|
|
|
41
59
|
*/
|
|
42
60
|
export var Staking;
|
|
43
61
|
(function (Staking) {
|
|
62
|
+
/** MsgBeginRedelegate message creator
|
|
63
|
+
* Defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator.
|
|
64
|
+
*
|
|
65
|
+
* @param object Represents the properties available for this MsgBeginRedelegate message.
|
|
66
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
67
|
+
*/
|
|
44
68
|
Staking.BeginRedelegate = function (object) {
|
|
45
69
|
return {
|
|
46
70
|
typeUrl: stakeBaseUrl + "MsgBeginRedelegate",
|
|
47
71
|
value: MsgBeginRedelegate.fromPartial(object),
|
|
48
72
|
};
|
|
49
73
|
};
|
|
74
|
+
/** MsgCancelUnbondingDelegation message creator
|
|
75
|
+
*
|
|
76
|
+
* @param object Represents the properties available for this MsgCancelUnbondingDelegation message.
|
|
77
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
78
|
+
*/
|
|
50
79
|
Staking.CancelUnbondingDelegation = function (object) {
|
|
51
80
|
return {
|
|
52
81
|
typeUrl: stakeBaseUrl + "MsgCancelUnbondingDelegation",
|
|
53
82
|
value: MsgCancelUnbondingDelegation.fromPartial(object),
|
|
54
83
|
};
|
|
55
84
|
};
|
|
85
|
+
/** MsgCreateValidator message creator
|
|
86
|
+
* Defines a method for creating a new validator.
|
|
87
|
+
*
|
|
88
|
+
* @param object Represents the properties available for this MsgCreateValidator message.
|
|
89
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
90
|
+
*/
|
|
56
91
|
Staking.CreateValidator = function (object) {
|
|
57
92
|
return {
|
|
58
93
|
typeUrl: stakeBaseUrl + "MsgCreateValidator",
|
|
59
94
|
value: MsgCreateValidator.fromPartial(object),
|
|
60
95
|
};
|
|
61
96
|
};
|
|
97
|
+
/** MsgDelegate message creator
|
|
98
|
+
* Defines a method for performing a delegation of coins from a delegator to a validator.
|
|
99
|
+
*
|
|
100
|
+
* @param object Represents the properties available for this MsgDelegate message.
|
|
101
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
102
|
+
*/
|
|
62
103
|
Staking.Delegate = function (object) {
|
|
63
104
|
return {
|
|
64
105
|
typeUrl: stakeBaseUrl + "MsgDelegate",
|
|
65
106
|
value: MsgDelegate.fromPartial(object),
|
|
66
107
|
};
|
|
67
108
|
};
|
|
109
|
+
/** MsgEditValidator message creator
|
|
110
|
+
* Defines a method for editing an existing validator.
|
|
111
|
+
*
|
|
112
|
+
* @param object Represents the properties available for this MsgEditValidator message.
|
|
113
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
114
|
+
*/
|
|
68
115
|
Staking.EditValidator = function (object) {
|
|
69
116
|
return {
|
|
70
117
|
typeUrl: stakeBaseUrl + "MsgEditValidator",
|
|
71
118
|
value: MsgEditValidator.fromPartial(object),
|
|
72
119
|
};
|
|
73
120
|
};
|
|
121
|
+
/** MsgUndelegate message creator
|
|
122
|
+
* Defines a method for performing an undelegation from a delegate and a validator.
|
|
123
|
+
*
|
|
124
|
+
* @param object Represents the properties available for this MsgUndelegate message.
|
|
125
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
126
|
+
*/
|
|
74
127
|
Staking.Undelegate = function (object) {
|
|
75
128
|
return {
|
|
76
129
|
typeUrl: stakeBaseUrl + "MsgUndelegate",
|
|
77
130
|
value: MsgUndelegate.fromPartial(object),
|
|
78
131
|
};
|
|
79
132
|
};
|
|
133
|
+
/** MsgUpdateParams message creator
|
|
134
|
+
*
|
|
135
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
136
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
137
|
+
*/
|
|
80
138
|
Staking.UpdateParams = function (object) {
|
|
81
139
|
return {
|
|
82
140
|
typeUrl: stakeBaseUrl + "MsgUpdateParams",
|
|
@@ -89,24 +147,48 @@ export var Staking;
|
|
|
89
147
|
*/
|
|
90
148
|
export var Governance;
|
|
91
149
|
(function (Governance) {
|
|
150
|
+
/** MsgDeposit message creator
|
|
151
|
+
* Defines a method to add deposit on a specific proposal.
|
|
152
|
+
*
|
|
153
|
+
* @param object Represents the properties available for this MsgDeposit message.
|
|
154
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
155
|
+
*/
|
|
92
156
|
Governance.Deposit = function (object) {
|
|
93
157
|
return {
|
|
94
158
|
typeUrl: govBaseUrl + "MsgDeposit",
|
|
95
159
|
value: MsgDeposit.fromPartial(object),
|
|
96
160
|
};
|
|
97
161
|
};
|
|
162
|
+
/** MsgSubmitProposal message creator
|
|
163
|
+
* Defines a method to create new proposal given a content.
|
|
164
|
+
*
|
|
165
|
+
* @param object Represents the properties available for this MsgSubmitProposal message.
|
|
166
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
167
|
+
*/
|
|
98
168
|
Governance.SubmitProposal = function (object) {
|
|
99
169
|
return {
|
|
100
170
|
typeUrl: govBaseUrl + "MsgSubmitProposal",
|
|
101
171
|
value: MsgSubmitProposal.fromPartial(object),
|
|
102
172
|
};
|
|
103
173
|
};
|
|
174
|
+
/** MsgVote message creator
|
|
175
|
+
* Defines a method to add a vote on a specific proposal.
|
|
176
|
+
*
|
|
177
|
+
* @param object Represents the properties available for this MsgVote message.
|
|
178
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
179
|
+
*/
|
|
104
180
|
Governance.Vote = function (object) {
|
|
105
181
|
return {
|
|
106
182
|
typeUrl: govBaseUrl + "MsgVote",
|
|
107
183
|
value: MsgVote.fromPartial(object),
|
|
108
184
|
};
|
|
109
185
|
};
|
|
186
|
+
/** MsgVoteWeighted message creator
|
|
187
|
+
* Defines a method to add a weighted vote on a specific proposal.
|
|
188
|
+
*
|
|
189
|
+
* @param object Represents the properties available for this MsgVoteWeighted message.
|
|
190
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
191
|
+
*/
|
|
110
192
|
Governance.VoteWeighted = function (object) {
|
|
111
193
|
return {
|
|
112
194
|
typeUrl: govBaseUrl + "MsgVoteWeighted",
|
|
@@ -119,12 +201,24 @@ export var Governance;
|
|
|
119
201
|
*/
|
|
120
202
|
export var Feegrant;
|
|
121
203
|
(function (Feegrant) {
|
|
204
|
+
/** MsgGrantAllowance message creator
|
|
205
|
+
* Grants fee allowance to the grantee on the granter's account with the provided expiration time.
|
|
206
|
+
*
|
|
207
|
+
* @param object Represents the properties available for this MsgGrantAllowance message.
|
|
208
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
209
|
+
*/
|
|
122
210
|
Feegrant.GrantAllowance = function (object) {
|
|
123
211
|
return {
|
|
124
212
|
typeUrl: fgBaseUrl + "MsgGrantAllowance",
|
|
125
213
|
value: MsgGrantAllowance.fromPartial(object),
|
|
126
214
|
};
|
|
127
215
|
};
|
|
216
|
+
/** MsgRevokeAllowance message creator
|
|
217
|
+
* Revokes any fee allowance of granter's account that has been granted to the grantee.
|
|
218
|
+
*
|
|
219
|
+
* @param object Represents the properties available for this MsgRevokeAllowance message.
|
|
220
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
221
|
+
*/
|
|
128
222
|
Feegrant.RevokeAllowance = function (object) {
|
|
129
223
|
return {
|
|
130
224
|
typeUrl: fgBaseUrl + "MsgRevokeAllowance",
|
|
@@ -137,24 +231,46 @@ export var Feegrant;
|
|
|
137
231
|
*/
|
|
138
232
|
export var Bank;
|
|
139
233
|
(function (Bank) {
|
|
234
|
+
/** MsgMultiSend message creator
|
|
235
|
+
* Defines a method for sending coins from some accounts to other accounts.
|
|
236
|
+
*
|
|
237
|
+
* @param object Represents the properties available for this MsgMultiSend message.
|
|
238
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
239
|
+
*/
|
|
140
240
|
Bank.MultiSend = function (object) {
|
|
141
241
|
return {
|
|
142
242
|
typeUrl: bankBaseUrl + "MsgMultiSend",
|
|
143
243
|
value: MsgMultiSend.fromPartial(object),
|
|
144
244
|
};
|
|
145
245
|
};
|
|
246
|
+
/** MsgSend message creator
|
|
247
|
+
* Defines a method for sending coins from one account to another account.
|
|
248
|
+
*
|
|
249
|
+
* @param object Represents the properties available for this MsgSend message.
|
|
250
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
251
|
+
*/
|
|
146
252
|
Bank.Send = function (object) {
|
|
147
253
|
return {
|
|
148
254
|
typeUrl: bankBaseUrl + "MsgSend",
|
|
149
255
|
value: MsgSend.fromPartial(object),
|
|
150
256
|
};
|
|
151
257
|
};
|
|
258
|
+
/** MsgSetSendEnabled message creator
|
|
259
|
+
*
|
|
260
|
+
* @param object Represents the properties available for this MsgSetSendEnabled message.
|
|
261
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
262
|
+
*/
|
|
152
263
|
Bank.SetSendEnabled = function (object) {
|
|
153
264
|
return {
|
|
154
265
|
typeUrl: bankBaseUrl + "MsgSetSendEnabled",
|
|
155
266
|
value: MsgSetSendEnabled.fromPartial(object),
|
|
156
267
|
};
|
|
157
268
|
};
|
|
269
|
+
/** MsgUpdateParams message creator
|
|
270
|
+
*
|
|
271
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
272
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
273
|
+
*/
|
|
158
274
|
Bank.UpdateParams = function (object) {
|
|
159
275
|
return {
|
|
160
276
|
typeUrl: bankBaseUrl + "MsgUpdateParams",
|
|
@@ -167,42 +283,81 @@ export var Bank;
|
|
|
167
283
|
*/
|
|
168
284
|
export var Distribution;
|
|
169
285
|
(function (Distribution) {
|
|
286
|
+
/** MsgWithdrawDelegatorReward message creator
|
|
287
|
+
* Defines a method to withdraw rewards of delegator from a single validator.
|
|
288
|
+
*
|
|
289
|
+
* @param object Represents the properties available for this MsgWithdrawDelegatorReward message.
|
|
290
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
291
|
+
*/
|
|
170
292
|
Distribution.WithdrawDelegatorReward = function (object) {
|
|
171
293
|
return {
|
|
172
294
|
typeUrl: distBaseUrl + "MsgWithdrawDelegatorReward",
|
|
173
295
|
value: MsgWithdrawDelegatorReward.fromPartial(object),
|
|
174
296
|
};
|
|
175
297
|
};
|
|
298
|
+
/** MsgUpdateParams message creator
|
|
299
|
+
*
|
|
300
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
301
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
302
|
+
*/
|
|
176
303
|
Distribution.UpdateParams = function (object) {
|
|
177
304
|
return {
|
|
178
305
|
typeUrl: distBaseUrl + "MsgUpdateParams",
|
|
179
306
|
value: DMsgUpdateParams.fromPartial(object),
|
|
180
307
|
};
|
|
181
308
|
};
|
|
309
|
+
/** MsgWithdrawValidatorCommission message creator
|
|
310
|
+
* Defines a method to withdraw the full commission to the validator address.
|
|
311
|
+
*
|
|
312
|
+
* @param object Represents the properties available for this MsgWithdrawValidatorCommission message.
|
|
313
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
314
|
+
*/
|
|
182
315
|
Distribution.WithdrawValidatorCommission = function (object) {
|
|
183
316
|
return {
|
|
184
317
|
typeUrl: distBaseUrl + "MsgWithdrawValidatorCommission",
|
|
185
318
|
value: MsgWithdrawValidatorCommission.fromPartial(object),
|
|
186
319
|
};
|
|
187
320
|
};
|
|
321
|
+
/** MsgCommunityPoolSpend message creator
|
|
322
|
+
*
|
|
323
|
+
* @param object Represents the properties available for this MsgCommunityPoolSpend message.
|
|
324
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
325
|
+
*/
|
|
188
326
|
Distribution.CommunityPoolSpend = function (object) {
|
|
189
327
|
return {
|
|
190
328
|
typeUrl: distBaseUrl + "MsgCommunityPoolSpend",
|
|
191
329
|
value: MsgCommunityPoolSpend.fromPartial(object),
|
|
192
330
|
};
|
|
193
331
|
};
|
|
332
|
+
/** MsgDepositValidatorRewardsPool message creator
|
|
333
|
+
*
|
|
334
|
+
* @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
|
|
335
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
336
|
+
*/
|
|
194
337
|
Distribution.DepositValidatorRewardsPool = function (object) {
|
|
195
338
|
return {
|
|
196
339
|
typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
|
|
197
340
|
value: MsgDepositValidatorRewardsPool.fromPartial(object),
|
|
198
341
|
};
|
|
199
342
|
};
|
|
343
|
+
/** MsgFundCommunityPool message creator
|
|
344
|
+
* Defines a method to allow an account to directly fund the community pool.
|
|
345
|
+
*
|
|
346
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
347
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
348
|
+
*/
|
|
200
349
|
Distribution.FundCommunityPool = function (object) {
|
|
201
350
|
return {
|
|
202
351
|
typeUrl: distBaseUrl + "MsgFundCommunityPool",
|
|
203
352
|
value: MsgFundCommunityPool.fromPartial(object),
|
|
204
353
|
};
|
|
205
354
|
};
|
|
355
|
+
/** MsgSetWithdrawAddress message creator
|
|
356
|
+
* Defines a method to change the withdraw address for a delegator (or validator self-delegation).
|
|
357
|
+
*
|
|
358
|
+
* @param object Represents the properties available for this MsgSetWithdrawAddress message.
|
|
359
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
360
|
+
*/
|
|
206
361
|
Distribution.SetWithdrawAddress = function (object) {
|
|
207
362
|
return {
|
|
208
363
|
typeUrl: distBaseUrl + "MsgSetWithdrawAddress",
|
|
@@ -215,6 +370,12 @@ export var Distribution;
|
|
|
215
370
|
*/
|
|
216
371
|
export var Vesting;
|
|
217
372
|
(function (Vesting) {
|
|
373
|
+
/** MsgCreateVestingAccount message creator
|
|
374
|
+
* Defines a method that enables creating a vesting account.
|
|
375
|
+
*
|
|
376
|
+
* @param object Represents the properties available for this MsgCreateVestingAccount message.
|
|
377
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
378
|
+
*/
|
|
218
379
|
Vesting.CreateVestingAccount = function (object) {
|
|
219
380
|
return {
|
|
220
381
|
typeUrl: vestBaseUrl + "MsgCreateVestingAccount",
|
|
@@ -234,4 +395,4 @@ export var Vesting;
|
|
|
234
395
|
};
|
|
235
396
|
};
|
|
236
397
|
})(Vesting || (Vesting = {}));
|
|
237
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
398
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxVQUFVLEVBQ1YsaUJBQWlCLEVBQ2pCLE9BQU8sRUFDUCxlQUFlLEdBR2hCLE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFOUUsT0FBTyxFQUNMLFlBQVksRUFDWixPQUFPLEVBQ1AsaUJBQWlCLEVBQ2pCLGVBQWUsR0FDaEIsTUFBTSxtQkFBbUIsQ0FBQztBQUUzQixPQUFPLEVBQ0wscUJBQXFCLEVBQ3JCLDhCQUE4QixFQUM5QixvQkFBb0IsRUFDcEIscUJBQXFCLEVBQ3JCLGVBQWUsSUFBSSxnQkFBZ0Is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DQUFDLE1BQU0sQ0FBQztTQUNuRCxDQUFDO0lBQ0osQ0FBQyxDQUFDO0lBRVcsb0NBQTRCLEdBQUcsVUFFMUMsTUFBUztRQUNULE9BQU87WUFDTCxPQUFPLEVBQUUsV0FBVyxHQUFHLGlDQUFpQztZQUN4RCxLQUFLLEVBQUUsK0JBQStCLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQztTQUMzRCxDQUFDO0lBQ0osQ0FBQyxDQUFDO0lBRVcsb0NBQTRCLEdBQUcsVUFFMUMsTUFBUztRQUNULE9BQU87WUFDTCxPQUFPLEVBQUUsV0FBVyxHQUFHLGlDQUFpQztZQUN4RCxLQUFLLEVBQUUsK0JBQStCLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQztTQUMzRCxDQUFDO0lBQ0osQ0FBQyxDQUFDO0FBQ0osQ0FBQyxFQWpDZ0IsT0FBTyxLQUFQLE9BQU8sUUFpQ3ZCIn0=
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin, MsgUpdateInstantiateConfig, MsgUpdateParams, MsgSudoContract, MsgPinCodes, MsgUnpinCodes, MsgStoreAndInstantiateContract } from "./tx";
|
|
2
|
+
/**
|
|
3
|
+
* Transaction Module for the Smart Contracts Module (wasm)
|
|
4
|
+
*/
|
|
2
5
|
export declare namespace CosmWasm {
|
|
6
|
+
/** MsgStoreAndInstantiateContract message creator
|
|
7
|
+
*
|
|
8
|
+
* @param object Represents the properties available for this MsgStoreAndInstantiateContract message.
|
|
9
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
10
|
+
*/
|
|
3
11
|
const StoreAndInstantiateContract: <I extends {
|
|
4
12
|
authority?: string;
|
|
5
13
|
wasmByteCode?: Uint8Array;
|
|
@@ -55,6 +63,11 @@ export declare namespace CosmWasm {
|
|
|
55
63
|
typeUrl: string;
|
|
56
64
|
value: MsgStoreAndInstantiateContract;
|
|
57
65
|
};
|
|
66
|
+
/** MsgUnpinCodes message creator
|
|
67
|
+
*
|
|
68
|
+
* @param object Represents the properties available for this MsgUnpinCodes message.
|
|
69
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
70
|
+
*/
|
|
58
71
|
const UnpinCodes: <I extends {
|
|
59
72
|
authority?: string;
|
|
60
73
|
codeIds?: number[];
|
|
@@ -65,6 +78,11 @@ export declare namespace CosmWasm {
|
|
|
65
78
|
typeUrl: string;
|
|
66
79
|
value: MsgUnpinCodes;
|
|
67
80
|
};
|
|
81
|
+
/** MsgPinCodes message creator
|
|
82
|
+
*
|
|
83
|
+
* @param object Represents the properties available for this MsgPinCodes message.
|
|
84
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
85
|
+
*/
|
|
68
86
|
const PinCodes: <I extends {
|
|
69
87
|
authority?: string;
|
|
70
88
|
codeIds?: number[];
|
|
@@ -75,6 +93,11 @@ export declare namespace CosmWasm {
|
|
|
75
93
|
typeUrl: string;
|
|
76
94
|
value: MsgPinCodes;
|
|
77
95
|
};
|
|
96
|
+
/** MsgSudoContract message creator
|
|
97
|
+
*
|
|
98
|
+
* @param object Represents the properties available for this MsgSudoContract message.
|
|
99
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
100
|
+
*/
|
|
78
101
|
const SudoContract: <I extends {
|
|
79
102
|
authority?: string;
|
|
80
103
|
contract?: string;
|
|
@@ -87,6 +110,11 @@ export declare namespace CosmWasm {
|
|
|
87
110
|
typeUrl: string;
|
|
88
111
|
value: MsgSudoContract;
|
|
89
112
|
};
|
|
113
|
+
/** MsgUpdateParams message creator
|
|
114
|
+
*
|
|
115
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
116
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
117
|
+
*/
|
|
90
118
|
const UpdateParams: <I extends {
|
|
91
119
|
authority?: string;
|
|
92
120
|
params?: {
|
|
@@ -122,6 +150,11 @@ export declare namespace CosmWasm {
|
|
|
122
150
|
typeUrl: string;
|
|
123
151
|
value: MsgUpdateParams;
|
|
124
152
|
};
|
|
153
|
+
/** MsgUpdateInstantiateConfig message creator
|
|
154
|
+
*
|
|
155
|
+
* @param object Represents the properties available for this MsgUpdateInstantiateConfig message.
|
|
156
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
157
|
+
*/
|
|
125
158
|
const UpdateInstantiateConfig: <I extends {
|
|
126
159
|
sender?: string;
|
|
127
160
|
codeId?: number;
|
|
@@ -146,6 +179,13 @@ export declare namespace CosmWasm {
|
|
|
146
179
|
typeUrl: string;
|
|
147
180
|
value: MsgUpdateInstantiateConfig;
|
|
148
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* MsgStoreCode message creator
|
|
184
|
+
* Submit Wasm code to the system
|
|
185
|
+
*
|
|
186
|
+
* @param object Represents the properties available for this MsgStoreCode message.
|
|
187
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
188
|
+
*/
|
|
149
189
|
const StoreCode: <I extends {
|
|
150
190
|
sender?: string;
|
|
151
191
|
wasmByteCode?: Uint8Array;
|
|
@@ -170,6 +210,13 @@ export declare namespace CosmWasm {
|
|
|
170
210
|
typeUrl: string;
|
|
171
211
|
value: MsgStoreCode;
|
|
172
212
|
};
|
|
213
|
+
/**
|
|
214
|
+
* MsgInstantiateContract message creator
|
|
215
|
+
* Creates a new smart contract instance for the given code id.
|
|
216
|
+
*
|
|
217
|
+
* @param object Represents the properties available for this MsgInstantiateContract message.
|
|
218
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
219
|
+
*/
|
|
173
220
|
const InstantiateContract: <I extends {
|
|
174
221
|
sender?: string;
|
|
175
222
|
admin?: string;
|
|
@@ -203,6 +250,12 @@ export declare namespace CosmWasm {
|
|
|
203
250
|
typeUrl: string;
|
|
204
251
|
value: MsgInstantiateContract;
|
|
205
252
|
};
|
|
253
|
+
/** MsgInstantiateContract2 message creator
|
|
254
|
+
* Creates a new smart contract instance for the given code id with a predictable address
|
|
255
|
+
*
|
|
256
|
+
* @param object Represents the properties available for this MsgInstantiateContract2 message.
|
|
257
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
258
|
+
*/
|
|
206
259
|
const InstantiateContract2: <I extends {
|
|
207
260
|
sender?: string;
|
|
208
261
|
admin?: string;
|
|
@@ -240,6 +293,12 @@ export declare namespace CosmWasm {
|
|
|
240
293
|
typeUrl: string;
|
|
241
294
|
value: MsgInstantiateContract2;
|
|
242
295
|
};
|
|
296
|
+
/** MsgClearAdmin message creator
|
|
297
|
+
* Removes any admin stored for a smart contract
|
|
298
|
+
*
|
|
299
|
+
* @param object Represents the properties available for this MsgClearAdmin message.
|
|
300
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
301
|
+
*/
|
|
243
302
|
const ClearAdmin: <I extends {
|
|
244
303
|
sender?: string;
|
|
245
304
|
contract?: string;
|
|
@@ -250,6 +309,12 @@ export declare namespace CosmWasm {
|
|
|
250
309
|
typeUrl: string;
|
|
251
310
|
value: MsgClearAdmin;
|
|
252
311
|
};
|
|
312
|
+
/** MsgUpdateAdmin message creator
|
|
313
|
+
* Sets a new admin for a smart contract
|
|
314
|
+
*
|
|
315
|
+
* @param object Represents the properties available for this MsgUpdateAdmin message.
|
|
316
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
317
|
+
*/
|
|
253
318
|
const UpdateAdmin: <I extends {
|
|
254
319
|
sender?: string;
|
|
255
320
|
newAdmin?: string;
|
|
@@ -262,6 +327,12 @@ export declare namespace CosmWasm {
|
|
|
262
327
|
typeUrl: string;
|
|
263
328
|
value: MsgUpdateAdmin;
|
|
264
329
|
};
|
|
330
|
+
/** MsgExecuteContract message creator
|
|
331
|
+
* Submits the given message data to a smart contract
|
|
332
|
+
*
|
|
333
|
+
* @param object Represents the properties available for this MsgExecuteContract message.
|
|
334
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
335
|
+
*/
|
|
265
336
|
const ExecuteContract: <I extends {
|
|
266
337
|
sender?: string;
|
|
267
338
|
contract?: string;
|
|
@@ -291,6 +362,12 @@ export declare namespace CosmWasm {
|
|
|
291
362
|
typeUrl: string;
|
|
292
363
|
value: MsgExecuteContract;
|
|
293
364
|
};
|
|
365
|
+
/** MsgMigrateContract message creator
|
|
366
|
+
* Runs a code upgrade/ downgrade for a smart contract
|
|
367
|
+
*
|
|
368
|
+
* @param object Represents the properties available for this MsgMigrateContract message.
|
|
369
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
370
|
+
*/
|
|
294
371
|
const MigrateContract: <I extends {
|
|
295
372
|
sender?: string;
|
|
296
373
|
contract?: string;
|