coreum-js 2.6.5 → 2.6.7
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 +44 -3
- package/dist/main/client/index.js +3 -2
- package/dist/main/coreum/extensions/ft.d.ts +9 -8
- package/dist/main/coreum/extensions/ft.js +15 -15
- package/dist/main/coreum/extensions/nft.d.ts +7 -6
- package/dist/main/coreum/extensions/nft.js +19 -11
- package/dist/main/coreum/extensions/nftbeta.d.ts +9 -8
- package/dist/main/coreum/extensions/nftbeta.js +22 -15
- package/dist/main/coreum/index.d.ts +16 -0
- package/dist/main/coreum/index.js +17 -1
- package/dist/main/cosmos/extensions/bank.d.ts +15 -0
- package/dist/main/cosmos/extensions/bank.js +43 -0
- package/dist/main/cosmos/extensions/distribution.d.ts +35 -0
- package/dist/main/cosmos/extensions/distribution.js +69 -0
- package/dist/main/cosmos/extensions/gov.d.ts +36 -0
- package/dist/main/cosmos/extensions/gov.js +70 -0
- package/dist/main/cosmos/extensions/index.d.ts +3 -0
- package/dist/main/cosmos/extensions/index.js +20 -0
- package/dist/main/cosmos/index.d.ts +161 -0
- package/dist/main/cosmos/index.js +162 -1
- package/dist/main/types/core.d.ts +7 -6
- package/dist/main/types/core.js +1 -1
- package/dist/main/wasm/v1/index.d.ts +77 -0
- package/dist/main/wasm/v1/index.js +78 -1
- package/dist/module/client/index.js +4 -3
- package/dist/module/coreum/extensions/ft.d.ts +9 -8
- package/dist/module/coreum/extensions/ft.js +15 -15
- package/dist/module/coreum/extensions/nft.d.ts +7 -6
- package/dist/module/coreum/extensions/nft.js +19 -11
- package/dist/module/coreum/extensions/nftbeta.d.ts +9 -8
- package/dist/module/coreum/extensions/nftbeta.js +22 -15
- package/dist/module/coreum/index.d.ts +16 -0
- package/dist/module/coreum/index.js +17 -1
- package/dist/module/cosmos/extensions/bank.d.ts +15 -0
- package/dist/module/cosmos/extensions/bank.js +39 -0
- package/dist/module/cosmos/extensions/distribution.d.ts +35 -0
- package/dist/module/cosmos/extensions/distribution.js +65 -0
- package/dist/module/cosmos/extensions/gov.d.ts +36 -0
- package/dist/module/cosmos/extensions/gov.js +72 -0
- package/dist/module/cosmos/extensions/index.d.ts +3 -0
- package/dist/module/cosmos/extensions/index.js +4 -0
- package/dist/module/cosmos/index.d.ts +161 -0
- package/dist/module/cosmos/index.js +162 -1
- package/dist/module/types/core.d.ts +7 -6
- package/dist/module/types/core.js +1 -1
- package/dist/module/wasm/v1/index.d.ts +77 -0
- package/dist/module/wasm/v1/index.js +78 -1
- package/package.json +2 -2
|
@@ -20,18 +20,36 @@ const vestBaseUrl = "/cosmos.vesting.v1beta1.";
|
|
|
20
20
|
*/
|
|
21
21
|
var Authz;
|
|
22
22
|
(function (Authz) {
|
|
23
|
+
/** MsgGrant message creator
|
|
24
|
+
* 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.
|
|
25
|
+
*
|
|
26
|
+
* @param object Represents the properties available for this MsgGrant message.
|
|
27
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
28
|
+
*/
|
|
23
29
|
Authz.Grant = function (object) {
|
|
24
30
|
return {
|
|
25
31
|
typeUrl: authzBaseUrl + "MsgGrant",
|
|
26
32
|
value: tx_7.MsgGrant.fromPartial(object),
|
|
27
33
|
};
|
|
28
34
|
};
|
|
35
|
+
/** MsgExec message creator
|
|
36
|
+
* 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.
|
|
37
|
+
*
|
|
38
|
+
* @param object Represents the properties available for this MsgExec message.
|
|
39
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
40
|
+
*/
|
|
29
41
|
Authz.Exec = function (object) {
|
|
30
42
|
return {
|
|
31
43
|
typeUrl: authzBaseUrl + "MsgExec",
|
|
32
44
|
value: tx_7.MsgExec.fromPartial(object),
|
|
33
45
|
};
|
|
34
46
|
};
|
|
47
|
+
/** MsgRevoke message creator
|
|
48
|
+
* Revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
|
|
49
|
+
*
|
|
50
|
+
* @param object Represents the properties available for this MsgRevoke message.
|
|
51
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
52
|
+
*/
|
|
35
53
|
Authz.Revoke = function (object) {
|
|
36
54
|
return {
|
|
37
55
|
typeUrl: authzBaseUrl + "MsgRevoke",
|
|
@@ -44,42 +62,82 @@ var Authz;
|
|
|
44
62
|
*/
|
|
45
63
|
var Staking;
|
|
46
64
|
(function (Staking) {
|
|
65
|
+
/** MsgBeginRedelegate message creator
|
|
66
|
+
* Defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator.
|
|
67
|
+
*
|
|
68
|
+
* @param object Represents the properties available for this MsgBeginRedelegate message.
|
|
69
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
70
|
+
*/
|
|
47
71
|
Staking.BeginRedelegate = function (object) {
|
|
48
72
|
return {
|
|
49
73
|
typeUrl: stakeBaseUrl + "MsgBeginRedelegate",
|
|
50
74
|
value: tx_6.MsgBeginRedelegate.fromPartial(object),
|
|
51
75
|
};
|
|
52
76
|
};
|
|
77
|
+
/** MsgCancelUnbondingDelegation message creator
|
|
78
|
+
*
|
|
79
|
+
* @param object Represents the properties available for this MsgCancelUnbondingDelegation message.
|
|
80
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
81
|
+
*/
|
|
53
82
|
Staking.CancelUnbondingDelegation = function (object) {
|
|
54
83
|
return {
|
|
55
84
|
typeUrl: stakeBaseUrl + "MsgCancelUnbondingDelegation",
|
|
56
85
|
value: tx_6.MsgCancelUnbondingDelegation.fromPartial(object),
|
|
57
86
|
};
|
|
58
87
|
};
|
|
88
|
+
/** MsgCreateValidator message creator
|
|
89
|
+
* Defines a method for creating a new validator.
|
|
90
|
+
*
|
|
91
|
+
* @param object Represents the properties available for this MsgCreateValidator message.
|
|
92
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
93
|
+
*/
|
|
59
94
|
Staking.CreateValidator = function (object) {
|
|
60
95
|
return {
|
|
61
96
|
typeUrl: stakeBaseUrl + "MsgCreateValidator",
|
|
62
97
|
value: tx_6.MsgCreateValidator.fromPartial(object),
|
|
63
98
|
};
|
|
64
99
|
};
|
|
100
|
+
/** MsgDelegate message creator
|
|
101
|
+
* Defines a method for performing a delegation of coins from a delegator to a validator.
|
|
102
|
+
*
|
|
103
|
+
* @param object Represents the properties available for this MsgDelegate message.
|
|
104
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
105
|
+
*/
|
|
65
106
|
Staking.Delegate = function (object) {
|
|
66
107
|
return {
|
|
67
108
|
typeUrl: stakeBaseUrl + "MsgDelegate",
|
|
68
109
|
value: tx_6.MsgDelegate.fromPartial(object),
|
|
69
110
|
};
|
|
70
111
|
};
|
|
112
|
+
/** MsgEditValidator message creator
|
|
113
|
+
* Defines a method for editing an existing validator.
|
|
114
|
+
*
|
|
115
|
+
* @param object Represents the properties available for this MsgEditValidator message.
|
|
116
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
117
|
+
*/
|
|
71
118
|
Staking.EditValidator = function (object) {
|
|
72
119
|
return {
|
|
73
120
|
typeUrl: stakeBaseUrl + "MsgEditValidator",
|
|
74
121
|
value: tx_6.MsgEditValidator.fromPartial(object),
|
|
75
122
|
};
|
|
76
123
|
};
|
|
124
|
+
/** MsgUndelegate message creator
|
|
125
|
+
* Defines a method for performing an undelegation from a delegate and a validator.
|
|
126
|
+
*
|
|
127
|
+
* @param object Represents the properties available for this MsgUndelegate message.
|
|
128
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
129
|
+
*/
|
|
77
130
|
Staking.Undelegate = function (object) {
|
|
78
131
|
return {
|
|
79
132
|
typeUrl: stakeBaseUrl + "MsgUndelegate",
|
|
80
133
|
value: tx_6.MsgUndelegate.fromPartial(object),
|
|
81
134
|
};
|
|
82
135
|
};
|
|
136
|
+
/** MsgUpdateParams message creator
|
|
137
|
+
*
|
|
138
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
139
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
140
|
+
*/
|
|
83
141
|
Staking.UpdateParams = function (object) {
|
|
84
142
|
return {
|
|
85
143
|
typeUrl: stakeBaseUrl + "MsgUpdateParams",
|
|
@@ -92,24 +150,48 @@ var Staking;
|
|
|
92
150
|
*/
|
|
93
151
|
var Governance;
|
|
94
152
|
(function (Governance) {
|
|
153
|
+
/** MsgDeposit message creator
|
|
154
|
+
* Defines a method to add deposit on a specific proposal.
|
|
155
|
+
*
|
|
156
|
+
* @param object Represents the properties available for this MsgDeposit message.
|
|
157
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
158
|
+
*/
|
|
95
159
|
Governance.Deposit = function (object) {
|
|
96
160
|
return {
|
|
97
161
|
typeUrl: govBaseUrl + "MsgDeposit",
|
|
98
162
|
value: tx_1.MsgDeposit.fromPartial(object),
|
|
99
163
|
};
|
|
100
164
|
};
|
|
165
|
+
/** MsgSubmitProposal message creator
|
|
166
|
+
* Defines a method to create new proposal given a content.
|
|
167
|
+
*
|
|
168
|
+
* @param object Represents the properties available for this MsgSubmitProposal message.
|
|
169
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
170
|
+
*/
|
|
101
171
|
Governance.SubmitProposal = function (object) {
|
|
102
172
|
return {
|
|
103
173
|
typeUrl: govBaseUrl + "MsgSubmitProposal",
|
|
104
174
|
value: tx_1.MsgSubmitProposal.fromPartial(object),
|
|
105
175
|
};
|
|
106
176
|
};
|
|
177
|
+
/** MsgVote message creator
|
|
178
|
+
* Defines a method to add a vote on a specific proposal.
|
|
179
|
+
*
|
|
180
|
+
* @param object Represents the properties available for this MsgVote message.
|
|
181
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
182
|
+
*/
|
|
107
183
|
Governance.Vote = function (object) {
|
|
108
184
|
return {
|
|
109
185
|
typeUrl: govBaseUrl + "MsgVote",
|
|
110
186
|
value: tx_1.MsgVote.fromPartial(object),
|
|
111
187
|
};
|
|
112
188
|
};
|
|
189
|
+
/** MsgVoteWeighted message creator
|
|
190
|
+
* Defines a method to add a weighted vote on a specific proposal.
|
|
191
|
+
*
|
|
192
|
+
* @param object Represents the properties available for this MsgVoteWeighted message.
|
|
193
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
194
|
+
*/
|
|
113
195
|
Governance.VoteWeighted = function (object) {
|
|
114
196
|
return {
|
|
115
197
|
typeUrl: govBaseUrl + "MsgVoteWeighted",
|
|
@@ -122,12 +204,24 @@ var Governance;
|
|
|
122
204
|
*/
|
|
123
205
|
var Feegrant;
|
|
124
206
|
(function (Feegrant) {
|
|
207
|
+
/** MsgGrantAllowance message creator
|
|
208
|
+
* Grants fee allowance to the grantee on the granter's account with the provided expiration time.
|
|
209
|
+
*
|
|
210
|
+
* @param object Represents the properties available for this MsgGrantAllowance message.
|
|
211
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
212
|
+
*/
|
|
125
213
|
Feegrant.GrantAllowance = function (object) {
|
|
126
214
|
return {
|
|
127
215
|
typeUrl: fgBaseUrl + "MsgGrantAllowance",
|
|
128
216
|
value: tx_2.MsgGrantAllowance.fromPartial(object),
|
|
129
217
|
};
|
|
130
218
|
};
|
|
219
|
+
/** MsgRevokeAllowance message creator
|
|
220
|
+
* Revokes any fee allowance of granter's account that has been granted to the grantee.
|
|
221
|
+
*
|
|
222
|
+
* @param object Represents the properties available for this MsgRevokeAllowance message.
|
|
223
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
224
|
+
*/
|
|
131
225
|
Feegrant.RevokeAllowance = function (object) {
|
|
132
226
|
return {
|
|
133
227
|
typeUrl: fgBaseUrl + "MsgRevokeAllowance",
|
|
@@ -140,24 +234,46 @@ var Feegrant;
|
|
|
140
234
|
*/
|
|
141
235
|
var Bank;
|
|
142
236
|
(function (Bank) {
|
|
237
|
+
/** MsgMultiSend message creator
|
|
238
|
+
* Defines a method for sending coins from some accounts to other accounts.
|
|
239
|
+
*
|
|
240
|
+
* @param object Represents the properties available for this MsgMultiSend message.
|
|
241
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
242
|
+
*/
|
|
143
243
|
Bank.MultiSend = function (object) {
|
|
144
244
|
return {
|
|
145
245
|
typeUrl: bankBaseUrl + "MsgMultiSend",
|
|
146
246
|
value: tx_3.MsgMultiSend.fromPartial(object),
|
|
147
247
|
};
|
|
148
248
|
};
|
|
249
|
+
/** MsgSend message creator
|
|
250
|
+
* Defines a method for sending coins from one account to another account.
|
|
251
|
+
*
|
|
252
|
+
* @param object Represents the properties available for this MsgSend message.
|
|
253
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
254
|
+
*/
|
|
149
255
|
Bank.Send = function (object) {
|
|
150
256
|
return {
|
|
151
257
|
typeUrl: bankBaseUrl + "MsgSend",
|
|
152
258
|
value: tx_3.MsgSend.fromPartial(object),
|
|
153
259
|
};
|
|
154
260
|
};
|
|
261
|
+
/** MsgSetSendEnabled message creator
|
|
262
|
+
*
|
|
263
|
+
* @param object Represents the properties available for this MsgSetSendEnabled message.
|
|
264
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
265
|
+
*/
|
|
155
266
|
Bank.SetSendEnabled = function (object) {
|
|
156
267
|
return {
|
|
157
268
|
typeUrl: bankBaseUrl + "MsgSetSendEnabled",
|
|
158
269
|
value: tx_3.MsgSetSendEnabled.fromPartial(object),
|
|
159
270
|
};
|
|
160
271
|
};
|
|
272
|
+
/** MsgUpdateParams message creator
|
|
273
|
+
*
|
|
274
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
275
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
276
|
+
*/
|
|
161
277
|
Bank.UpdateParams = function (object) {
|
|
162
278
|
return {
|
|
163
279
|
typeUrl: bankBaseUrl + "MsgUpdateParams",
|
|
@@ -170,42 +286,81 @@ var Bank;
|
|
|
170
286
|
*/
|
|
171
287
|
var Distribution;
|
|
172
288
|
(function (Distribution) {
|
|
289
|
+
/** MsgWithdrawDelegatorReward message creator
|
|
290
|
+
* Defines a method to withdraw rewards of delegator from a single validator.
|
|
291
|
+
*
|
|
292
|
+
* @param object Represents the properties available for this MsgWithdrawDelegatorReward message.
|
|
293
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
294
|
+
*/
|
|
173
295
|
Distribution.WithdrawDelegatorReward = function (object) {
|
|
174
296
|
return {
|
|
175
297
|
typeUrl: distBaseUrl + "MsgWithdrawDelegatorReward",
|
|
176
298
|
value: tx_4.MsgWithdrawDelegatorReward.fromPartial(object),
|
|
177
299
|
};
|
|
178
300
|
};
|
|
301
|
+
/** MsgUpdateParams message creator
|
|
302
|
+
*
|
|
303
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
304
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
305
|
+
*/
|
|
179
306
|
Distribution.UpdateParams = function (object) {
|
|
180
307
|
return {
|
|
181
308
|
typeUrl: distBaseUrl + "MsgUpdateParams",
|
|
182
309
|
value: tx_4.MsgUpdateParams.fromPartial(object),
|
|
183
310
|
};
|
|
184
311
|
};
|
|
312
|
+
/** MsgWithdrawValidatorCommission message creator
|
|
313
|
+
* Defines a method to withdraw the full commission to the validator address.
|
|
314
|
+
*
|
|
315
|
+
* @param object Represents the properties available for this MsgWithdrawValidatorCommission message.
|
|
316
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
317
|
+
*/
|
|
185
318
|
Distribution.WithdrawValidatorCommission = function (object) {
|
|
186
319
|
return {
|
|
187
320
|
typeUrl: distBaseUrl + "MsgWithdrawValidatorCommission",
|
|
188
321
|
value: tx_4.MsgWithdrawValidatorCommission.fromPartial(object),
|
|
189
322
|
};
|
|
190
323
|
};
|
|
324
|
+
/** MsgCommunityPoolSpend message creator
|
|
325
|
+
*
|
|
326
|
+
* @param object Represents the properties available for this MsgCommunityPoolSpend message.
|
|
327
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
328
|
+
*/
|
|
191
329
|
Distribution.CommunityPoolSpend = function (object) {
|
|
192
330
|
return {
|
|
193
331
|
typeUrl: distBaseUrl + "MsgCommunityPoolSpend",
|
|
194
332
|
value: tx_4.MsgCommunityPoolSpend.fromPartial(object),
|
|
195
333
|
};
|
|
196
334
|
};
|
|
335
|
+
/** MsgDepositValidatorRewardsPool message creator
|
|
336
|
+
*
|
|
337
|
+
* @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
|
|
338
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
339
|
+
*/
|
|
197
340
|
Distribution.DepositValidatorRewardsPool = function (object) {
|
|
198
341
|
return {
|
|
199
342
|
typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
|
|
200
343
|
value: tx_4.MsgDepositValidatorRewardsPool.fromPartial(object),
|
|
201
344
|
};
|
|
202
345
|
};
|
|
346
|
+
/** MsgFundCommunityPool message creator
|
|
347
|
+
* Defines a method to allow an account to directly fund the community pool.
|
|
348
|
+
*
|
|
349
|
+
* @param object Represents the properties available for this MsgUpdateParams message.
|
|
350
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
351
|
+
*/
|
|
203
352
|
Distribution.FundCommunityPool = function (object) {
|
|
204
353
|
return {
|
|
205
354
|
typeUrl: distBaseUrl + "MsgFundCommunityPool",
|
|
206
355
|
value: tx_4.MsgFundCommunityPool.fromPartial(object),
|
|
207
356
|
};
|
|
208
357
|
};
|
|
358
|
+
/** MsgSetWithdrawAddress message creator
|
|
359
|
+
* Defines a method to change the withdraw address for a delegator (or validator self-delegation).
|
|
360
|
+
*
|
|
361
|
+
* @param object Represents the properties available for this MsgSetWithdrawAddress message.
|
|
362
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
363
|
+
*/
|
|
209
364
|
Distribution.SetWithdrawAddress = function (object) {
|
|
210
365
|
return {
|
|
211
366
|
typeUrl: distBaseUrl + "MsgSetWithdrawAddress",
|
|
@@ -218,6 +373,12 @@ var Distribution;
|
|
|
218
373
|
*/
|
|
219
374
|
var Vesting;
|
|
220
375
|
(function (Vesting) {
|
|
376
|
+
/** MsgCreateVestingAccount message creator
|
|
377
|
+
* Defines a method that enables creating a vesting account.
|
|
378
|
+
*
|
|
379
|
+
* @param object Represents the properties available for this MsgCreateVestingAccount message.
|
|
380
|
+
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
381
|
+
*/
|
|
221
382
|
Vesting.CreateVestingAccount = function (object) {
|
|
222
383
|
return {
|
|
223
384
|
typeUrl: vestBaseUrl + "MsgCreateVestingAccount",
|
|
@@ -237,4 +398,4 @@ var Vesting;
|
|
|
237
398
|
};
|
|
238
399
|
};
|
|
239
400
|
})(Vesting = exports.Vesting || (exports.Vesting = {}));
|
|
240
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
401
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQU8wQjtBQUUxQiw4Q0FBOEU7QUFFOUUsMENBSzJCO0FBRTNCLGtEQVFtQztBQUVuQyw2Q0FJOEI7QUFFOUIsNkNBUThCO0FBRTlCLDJDQUFrRTtBQUVsRSxNQUFNLFlBQVksR0FBRyx3QkFBd0IsQ0FBQztBQUM5QyxNQUFNLFlBQVksR0FBRywwQkFBMEIsQ0FBQztBQUNoRCxNQUFNLFVBQVUsR0FBRyxzQkFBc0IsQ0FBQztBQUMxQyxNQUFNLFNBQVMsR0FBRywyQkFBMkIsQ0FBQztBQUM5QyxNQUFNLFdBQVcsR0FBRyx1QkFBdUIsQ0FBQztBQUM1QyxNQUFNLFdBQVcsR0FBRywrQkFBK0IsQ0FBQztBQUNwRCxNQUFNL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|
2
2
|
import { setupFTExtension } from "../coreum/extensions/ft";
|
|
3
3
|
import { setupNFTExtension } from "../coreum/extensions/nft";
|
|
4
4
|
import { setupNFTBetaExtension } from "../coreum/extensions/nftbeta";
|
|
5
|
-
import {
|
|
5
|
+
import { FeegrantExtension, IbcExtension } from "@cosmjs/stargate/build/modules";
|
|
6
6
|
import { WasmExtension } from "@cosmjs/cosmwasm-stargate";
|
|
7
|
+
import { setupBankExtension, setupGovExtension, setupDistributionExtension } from "../cosmos/extensions";
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare enum CoreumTypeUrl {
|
|
9
10
|
NFT = "/coreum.asset.nft.v1.",
|
|
@@ -14,14 +15,14 @@ export interface ClientQueryClient extends QueryClient {
|
|
|
14
15
|
ft: ReturnType<typeof setupFTExtension>["ft"];
|
|
15
16
|
nft: ReturnType<typeof setupNFTExtension>["nft"];
|
|
16
17
|
nftbeta: ReturnType<typeof setupNFTBetaExtension>["nftbeta"];
|
|
18
|
+
bank: ReturnType<typeof setupBankExtension>["bank"];
|
|
19
|
+
gov: ReturnType<typeof setupGovExtension>["gov"];
|
|
20
|
+
distribution: ReturnType<typeof setupDistributionExtension>["distribution"];
|
|
17
21
|
staking: StakingExtension["staking"];
|
|
18
|
-
bank: BankExtension["bank"];
|
|
19
|
-
tx: TxExtension["tx"];
|
|
20
22
|
auth: AuthExtension["auth"];
|
|
21
23
|
mint: MintExtension["mint"];
|
|
22
24
|
feegrant: FeegrantExtension["feegrant"];
|
|
23
|
-
gov: GovExtension["gov"];
|
|
24
25
|
ibc: IbcExtension["ibc"];
|
|
25
|
-
distribution: DistributionExtension["distribution"];
|
|
26
26
|
wasm: WasmExtension["wasm"];
|
|
27
|
+
tx: TxExtension["tx"];
|
|
27
28
|
}
|
package/dist/main/types/core.js
CHANGED
|
@@ -16,4 +16,4 @@ var CoreumTypeUrl;
|
|
|
16
16
|
// setupGovExtension,
|
|
17
17
|
// setupIbcExtension,
|
|
18
18
|
// setupDistributionExtension,
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy9jb3JlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGtEQUF3RTtBQUN4RSxpREFBc0U7QUFDdEUsaURBQXdFO0FBc0J4RSxnQkFBZ0I7QUFDaEIsSUFBWSxhQUlYO0FBSkQsV0FBWSxhQUFhO0lBQ3ZCLDhDQUFxQixDQUFBO0lBQ3JCLDRDQUFtQixDQUFBO0lBQ25CLGlEQUEwQixDQUFBO0FBQzVCLENBQUMsRUFKVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUl4QjtBQXNCRCxzQkFBc0I7QUFDdEIsMEJBQTBCO0FBQzFCLHFCQUFxQjtBQUNyQixxQkFBcUI7QUFDckIsOEJBQThCIn0=
|
|
@@ -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;
|