coreum-js 2.5.4 → 2.5.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 +8 -7
- package/dist/main/client/index.js +4 -4
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/nft.js +2 -2
- package/dist/main/coreum/asset/nft/v1/query.d.ts +2 -2
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/tx.js +2 -2
- package/dist/main/coreum/index.d.ts +2 -2
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +6 -6
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
- package/dist/main/coreum/nft/v1beta1/nft.js +2 -2
- package/dist/main/coreum/nft/v1beta1/query.d.ts +8 -8
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +29 -11
- package/dist/main/{coreum/google → google}/api/annotations.js +1 -1
- package/dist/main/google/api/http.js +329 -0
- package/dist/main/google/protobuf/any.js +122 -0
- package/dist/main/types/core.d.ts +2 -0
- package/dist/main/types/core.js +1 -1
- package/dist/main/wasm/v1/authz.d.ts +570 -0
- package/dist/main/wasm/v1/authz.js +603 -0
- package/dist/main/wasm/v1/extensions/wasm.d.ts +17 -0
- package/dist/main/wasm/v1/extensions/wasm.js +48 -0
- package/dist/main/wasm/v1/genesis.d.ts +1059 -0
- package/dist/main/wasm/v1/genesis.js +427 -0
- package/dist/main/wasm/v1/ibc.d.ts +102 -0
- package/dist/main/wasm/v1/ibc.js +250 -0
- package/dist/main/wasm/v1/index.d.ts +308 -0
- package/dist/main/wasm/v1/index.js +87 -0
- package/dist/main/wasm/v1/pagination.d.ts +128 -0
- package/dist/main/wasm/v1/pagination.js +228 -0
- package/dist/main/wasm/v1/proposal.d.ts +1023 -0
- package/dist/main/wasm/v1/proposal.js +1638 -0
- package/dist/main/wasm/v1/query.d.ts +1443 -0
- package/dist/main/wasm/v1/query.js +1699 -0
- package/dist/main/wasm/v1/tx.d.ts +1167 -0
- package/dist/main/wasm/v1/tx.js +2088 -0
- package/dist/main/wasm/v1/types.d.ts +417 -0
- package/dist/main/wasm/v1/types.js +856 -0
- package/dist/module/client/index.js +4 -4
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/nft.js +2 -2
- package/dist/module/coreum/asset/nft/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/tx.js +2 -2
- package/dist/module/coreum/index.d.ts +2 -2
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +6 -6
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
- package/dist/module/coreum/nft/v1beta1/nft.js +2 -2
- package/dist/module/coreum/nft/v1beta1/query.d.ts +8 -8
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +29 -11
- package/dist/module/{coreum/google → google}/api/annotations.js +1 -1
- package/dist/module/google/api/http.js +320 -0
- package/dist/module/google/protobuf/any.js +115 -0
- package/dist/module/types/core.d.ts +2 -0
- package/dist/module/types/core.js +1 -1
- package/dist/module/wasm/v1/authz.d.ts +570 -0
- package/dist/module/wasm/v1/authz.js +589 -0
- package/dist/module/wasm/v1/extensions/wasm.d.ts +17 -0
- package/dist/module/wasm/v1/extensions/wasm.js +44 -0
- package/dist/module/wasm/v1/genesis.d.ts +1059 -0
- package/dist/module/wasm/v1/genesis.js +417 -0
- package/dist/module/wasm/v1/ibc.d.ts +102 -0
- package/dist/module/wasm/v1/ibc.js +241 -0
- package/dist/module/wasm/v1/index.d.ts +308 -0
- package/dist/module/wasm/v1/index.js +84 -0
- package/dist/module/wasm/v1/pagination.d.ts +128 -0
- package/dist/module/wasm/v1/pagination.js +220 -0
- package/dist/module/wasm/v1/proposal.d.ts +1023 -0
- package/dist/module/wasm/v1/proposal.js +1619 -0
- package/dist/module/wasm/v1/query.d.ts +1443 -0
- package/dist/module/wasm/v1/query.js +1675 -0
- package/dist/module/wasm/v1/tx.d.ts +1167 -0
- package/dist/module/wasm/v1/tx.js +2063 -0
- package/dist/module/wasm/v1/types.d.ts +417 -0
- package/dist/module/wasm/v1/types.js +838 -0
- package/package.json +2 -1
- package/dist/main/coreum/google/api/http.js +0 -329
- package/dist/main/coreum/google/protobuf/any.js +0 -122
- package/dist/module/coreum/google/api/http.js +0 -320
- package/dist/module/coreum/google/protobuf/any.js +0 -115
- /package/dist/main/{coreum/google → google}/api/annotations.d.ts +0 -0
- /package/dist/main/{coreum/google → google}/api/http.d.ts +0 -0
- /package/dist/main/{coreum/google → google}/protobuf/any.d.ts +0 -0
- /package/dist/module/{coreum/google → google}/api/annotations.d.ts +0 -0
- /package/dist/module/{coreum/google → google}/api/http.d.ts +0 -0
- /package/dist/module/{coreum/google → google}/protobuf/any.d.ts +0 -0
|
@@ -0,0 +1,1167 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Coin } from "../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { AccessConfig, Params } from "./types";
|
|
4
|
+
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
5
|
+
/** MsgStoreCode submit Wasm code to the system */
|
|
6
|
+
export interface MsgStoreCode {
|
|
7
|
+
/** Sender is the actor that signed the messages */
|
|
8
|
+
sender: string;
|
|
9
|
+
/** WASMByteCode can be raw or gzip compressed */
|
|
10
|
+
wasmByteCode: Uint8Array;
|
|
11
|
+
/**
|
|
12
|
+
* InstantiatePermission access control to apply on contract creation,
|
|
13
|
+
* optional
|
|
14
|
+
*/
|
|
15
|
+
instantiatePermission: AccessConfig | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** MsgStoreCodeResponse returns store result data. */
|
|
18
|
+
export interface MsgStoreCodeResponse {
|
|
19
|
+
/** CodeID is the reference to the stored WASM code */
|
|
20
|
+
codeId: number;
|
|
21
|
+
/** Checksum is the sha256 hash of the stored code */
|
|
22
|
+
checksum: Uint8Array;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* MsgInstantiateContract create a new smart contract instance for the given
|
|
26
|
+
* code id.
|
|
27
|
+
*/
|
|
28
|
+
export interface MsgInstantiateContract {
|
|
29
|
+
/** Sender is the that actor that signed the messages */
|
|
30
|
+
sender: string;
|
|
31
|
+
/** Admin is an optional address that can execute migrations */
|
|
32
|
+
admin: string;
|
|
33
|
+
/** CodeID is the reference to the stored WASM code */
|
|
34
|
+
codeId: number;
|
|
35
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
|
36
|
+
label: string;
|
|
37
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
|
38
|
+
msg: Uint8Array;
|
|
39
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
|
40
|
+
funds: Coin[];
|
|
41
|
+
}
|
|
42
|
+
/** MsgInstantiateContractResponse return instantiation result data */
|
|
43
|
+
export interface MsgInstantiateContractResponse {
|
|
44
|
+
/** Address is the bech32 address of the new contract instance. */
|
|
45
|
+
address: string;
|
|
46
|
+
/** Data contains bytes to returned from the contract */
|
|
47
|
+
data: Uint8Array;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* MsgInstantiateContract2 create a new smart contract instance for the given
|
|
51
|
+
* code id with a predicable address.
|
|
52
|
+
*/
|
|
53
|
+
export interface MsgInstantiateContract2 {
|
|
54
|
+
/** Sender is the that actor that signed the messages */
|
|
55
|
+
sender: string;
|
|
56
|
+
/** Admin is an optional address that can execute migrations */
|
|
57
|
+
admin: string;
|
|
58
|
+
/** CodeID is the reference to the stored WASM code */
|
|
59
|
+
codeId: number;
|
|
60
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
|
61
|
+
label: string;
|
|
62
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
|
63
|
+
msg: Uint8Array;
|
|
64
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
|
65
|
+
funds: Coin[];
|
|
66
|
+
/** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */
|
|
67
|
+
salt: Uint8Array;
|
|
68
|
+
/**
|
|
69
|
+
* FixMsg include the msg value into the hash for the predictable address.
|
|
70
|
+
* Default is false
|
|
71
|
+
*/
|
|
72
|
+
fixMsg: boolean;
|
|
73
|
+
}
|
|
74
|
+
/** MsgInstantiateContract2Response return instantiation result data */
|
|
75
|
+
export interface MsgInstantiateContract2Response {
|
|
76
|
+
/** Address is the bech32 address of the new contract instance. */
|
|
77
|
+
address: string;
|
|
78
|
+
/** Data contains bytes to returned from the contract */
|
|
79
|
+
data: Uint8Array;
|
|
80
|
+
}
|
|
81
|
+
/** MsgExecuteContract submits the given message data to a smart contract */
|
|
82
|
+
export interface MsgExecuteContract {
|
|
83
|
+
/** Sender is the that actor that signed the messages */
|
|
84
|
+
sender: string;
|
|
85
|
+
/** Contract is the address of the smart contract */
|
|
86
|
+
contract: string;
|
|
87
|
+
/** Msg json encoded message to be passed to the contract */
|
|
88
|
+
msg: Uint8Array;
|
|
89
|
+
/** Funds coins that are transferred to the contract on execution */
|
|
90
|
+
funds: Coin[];
|
|
91
|
+
}
|
|
92
|
+
/** MsgExecuteContractResponse returns execution result data. */
|
|
93
|
+
export interface MsgExecuteContractResponse {
|
|
94
|
+
/** Data contains bytes to returned from the contract */
|
|
95
|
+
data: Uint8Array;
|
|
96
|
+
}
|
|
97
|
+
/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
|
|
98
|
+
export interface MsgMigrateContract {
|
|
99
|
+
/** Sender is the that actor that signed the messages */
|
|
100
|
+
sender: string;
|
|
101
|
+
/** Contract is the address of the smart contract */
|
|
102
|
+
contract: string;
|
|
103
|
+
/** CodeID references the new WASM code */
|
|
104
|
+
codeId: number;
|
|
105
|
+
/** Msg json encoded message to be passed to the contract on migration */
|
|
106
|
+
msg: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/** MsgMigrateContractResponse returns contract migration result data. */
|
|
109
|
+
export interface MsgMigrateContractResponse {
|
|
110
|
+
/**
|
|
111
|
+
* Data contains same raw bytes returned as data from the wasm contract.
|
|
112
|
+
* (May be empty)
|
|
113
|
+
*/
|
|
114
|
+
data: Uint8Array;
|
|
115
|
+
}
|
|
116
|
+
/** MsgUpdateAdmin sets a new admin for a smart contract */
|
|
117
|
+
export interface MsgUpdateAdmin {
|
|
118
|
+
/** Sender is the that actor that signed the messages */
|
|
119
|
+
sender: string;
|
|
120
|
+
/** NewAdmin address to be set */
|
|
121
|
+
newAdmin: string;
|
|
122
|
+
/** Contract is the address of the smart contract */
|
|
123
|
+
contract: string;
|
|
124
|
+
}
|
|
125
|
+
/** MsgUpdateAdminResponse returns empty data */
|
|
126
|
+
export interface MsgUpdateAdminResponse {
|
|
127
|
+
}
|
|
128
|
+
/** MsgClearAdmin removes any admin stored for a smart contract */
|
|
129
|
+
export interface MsgClearAdmin {
|
|
130
|
+
/** Sender is the actor that signed the messages */
|
|
131
|
+
sender: string;
|
|
132
|
+
/** Contract is the address of the smart contract */
|
|
133
|
+
contract: string;
|
|
134
|
+
}
|
|
135
|
+
/** MsgClearAdminResponse returns empty data */
|
|
136
|
+
export interface MsgClearAdminResponse {
|
|
137
|
+
}
|
|
138
|
+
/** MsgUpdateInstantiateConfig updates instantiate config for a smart contract */
|
|
139
|
+
export interface MsgUpdateInstantiateConfig {
|
|
140
|
+
/** Sender is the that actor that signed the messages */
|
|
141
|
+
sender: string;
|
|
142
|
+
/** CodeID references the stored WASM code */
|
|
143
|
+
codeId: number;
|
|
144
|
+
/** NewInstantiatePermission is the new access control */
|
|
145
|
+
newInstantiatePermission: AccessConfig | undefined;
|
|
146
|
+
}
|
|
147
|
+
/** MsgUpdateInstantiateConfigResponse returns empty data */
|
|
148
|
+
export interface MsgUpdateInstantiateConfigResponse {
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* MsgUpdateParams is the MsgUpdateParams request type.
|
|
152
|
+
*
|
|
153
|
+
* Since: 0.40
|
|
154
|
+
*/
|
|
155
|
+
export interface MsgUpdateParams {
|
|
156
|
+
/** Authority is the address of the governance account. */
|
|
157
|
+
authority: string;
|
|
158
|
+
/**
|
|
159
|
+
* params defines the x/wasm parameters to update.
|
|
160
|
+
*
|
|
161
|
+
* NOTE: All parameters must be supplied.
|
|
162
|
+
*/
|
|
163
|
+
params: Params | undefined;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
167
|
+
* MsgUpdateParams message.
|
|
168
|
+
*
|
|
169
|
+
* Since: 0.40
|
|
170
|
+
*/
|
|
171
|
+
export interface MsgUpdateParamsResponse {
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* MsgSudoContract is the MsgSudoContract request type.
|
|
175
|
+
*
|
|
176
|
+
* Since: 0.40
|
|
177
|
+
*/
|
|
178
|
+
export interface MsgSudoContract {
|
|
179
|
+
/** Authority is the address of the governance account. */
|
|
180
|
+
authority: string;
|
|
181
|
+
/** Contract is the address of the smart contract */
|
|
182
|
+
contract: string;
|
|
183
|
+
/** Msg json encoded message to be passed to the contract as sudo */
|
|
184
|
+
msg: Uint8Array;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* MsgSudoContractResponse defines the response structure for executing a
|
|
188
|
+
* MsgSudoContract message.
|
|
189
|
+
*
|
|
190
|
+
* Since: 0.40
|
|
191
|
+
*/
|
|
192
|
+
export interface MsgSudoContractResponse {
|
|
193
|
+
/** Data contains bytes to returned from the contract */
|
|
194
|
+
data: Uint8Array;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* MsgPinCodes is the MsgPinCodes request type.
|
|
198
|
+
*
|
|
199
|
+
* Since: 0.40
|
|
200
|
+
*/
|
|
201
|
+
export interface MsgPinCodes {
|
|
202
|
+
/** Authority is the address of the governance account. */
|
|
203
|
+
authority: string;
|
|
204
|
+
/** CodeIDs references the new WASM codes */
|
|
205
|
+
codeIds: number[];
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* MsgPinCodesResponse defines the response structure for executing a
|
|
209
|
+
* MsgPinCodes message.
|
|
210
|
+
*
|
|
211
|
+
* Since: 0.40
|
|
212
|
+
*/
|
|
213
|
+
export interface MsgPinCodesResponse {
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* MsgUnpinCodes is the MsgUnpinCodes request type.
|
|
217
|
+
*
|
|
218
|
+
* Since: 0.40
|
|
219
|
+
*/
|
|
220
|
+
export interface MsgUnpinCodes {
|
|
221
|
+
/** Authority is the address of the governance account. */
|
|
222
|
+
authority: string;
|
|
223
|
+
/** CodeIDs references the WASM codes */
|
|
224
|
+
codeIds: number[];
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* MsgUnpinCodesResponse defines the response structure for executing a
|
|
228
|
+
* MsgUnpinCodes message.
|
|
229
|
+
*
|
|
230
|
+
* Since: 0.40
|
|
231
|
+
*/
|
|
232
|
+
export interface MsgUnpinCodesResponse {
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract
|
|
236
|
+
* request type.
|
|
237
|
+
*
|
|
238
|
+
* Since: 0.40
|
|
239
|
+
*/
|
|
240
|
+
export interface MsgStoreAndInstantiateContract {
|
|
241
|
+
/** Authority is the address of the governance account. */
|
|
242
|
+
authority: string;
|
|
243
|
+
/** WASMByteCode can be raw or gzip compressed */
|
|
244
|
+
wasmByteCode: Uint8Array;
|
|
245
|
+
/** InstantiatePermission to apply on contract creation, optional */
|
|
246
|
+
instantiatePermission: AccessConfig | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* UnpinCode code on upload, optional. As default the uploaded contract is
|
|
249
|
+
* pinned to cache.
|
|
250
|
+
*/
|
|
251
|
+
unpinCode: boolean;
|
|
252
|
+
/** Admin is an optional address that can execute migrations */
|
|
253
|
+
admin: string;
|
|
254
|
+
/** Label is optional metadata to be stored with a constract instance. */
|
|
255
|
+
label: string;
|
|
256
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
|
257
|
+
msg: Uint8Array;
|
|
258
|
+
/**
|
|
259
|
+
* Funds coins that are transferred from the authority account to the contract
|
|
260
|
+
* on instantiation
|
|
261
|
+
*/
|
|
262
|
+
funds: Coin[];
|
|
263
|
+
/** Source is the URL where the code is hosted */
|
|
264
|
+
source: string;
|
|
265
|
+
/**
|
|
266
|
+
* Builder is the docker image used to build the code deterministically, used
|
|
267
|
+
* for smart contract verification
|
|
268
|
+
*/
|
|
269
|
+
builder: string;
|
|
270
|
+
/**
|
|
271
|
+
* CodeHash is the SHA256 sum of the code outputted by builder, used for smart
|
|
272
|
+
* contract verification
|
|
273
|
+
*/
|
|
274
|
+
codeHash: Uint8Array;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* MsgStoreAndInstantiateContractResponse defines the response structure
|
|
278
|
+
* for executing a MsgStoreAndInstantiateContract message.
|
|
279
|
+
*
|
|
280
|
+
* Since: 0.40
|
|
281
|
+
*/
|
|
282
|
+
export interface MsgStoreAndInstantiateContractResponse {
|
|
283
|
+
/** Address is the bech32 address of the new contract instance. */
|
|
284
|
+
address: string;
|
|
285
|
+
/** Data contains bytes to returned from the contract */
|
|
286
|
+
data: Uint8Array;
|
|
287
|
+
}
|
|
288
|
+
export declare const MsgStoreCode: {
|
|
289
|
+
encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer;
|
|
290
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode;
|
|
291
|
+
fromJSON(object: any): MsgStoreCode;
|
|
292
|
+
toJSON(message: MsgStoreCode): unknown;
|
|
293
|
+
create<I extends {
|
|
294
|
+
sender?: string;
|
|
295
|
+
wasmByteCode?: Uint8Array;
|
|
296
|
+
instantiatePermission?: {
|
|
297
|
+
permission?: import("./types").AccessType;
|
|
298
|
+
address?: string;
|
|
299
|
+
addresses?: string[];
|
|
300
|
+
};
|
|
301
|
+
} & {
|
|
302
|
+
sender?: string;
|
|
303
|
+
wasmByteCode?: Uint8Array;
|
|
304
|
+
instantiatePermission?: {
|
|
305
|
+
permission?: import("./types").AccessType;
|
|
306
|
+
address?: string;
|
|
307
|
+
addresses?: string[];
|
|
308
|
+
} & {
|
|
309
|
+
permission?: import("./types").AccessType;
|
|
310
|
+
address?: string;
|
|
311
|
+
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
312
|
+
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
313
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgStoreCode>]: never; }>(base?: I): MsgStoreCode;
|
|
314
|
+
fromPartial<I_1 extends {
|
|
315
|
+
sender?: string;
|
|
316
|
+
wasmByteCode?: Uint8Array;
|
|
317
|
+
instantiatePermission?: {
|
|
318
|
+
permission?: import("./types").AccessType;
|
|
319
|
+
address?: string;
|
|
320
|
+
addresses?: string[];
|
|
321
|
+
};
|
|
322
|
+
} & {
|
|
323
|
+
sender?: string;
|
|
324
|
+
wasmByteCode?: Uint8Array;
|
|
325
|
+
instantiatePermission?: {
|
|
326
|
+
permission?: import("./types").AccessType;
|
|
327
|
+
address?: string;
|
|
328
|
+
addresses?: string[];
|
|
329
|
+
} & {
|
|
330
|
+
permission?: import("./types").AccessType;
|
|
331
|
+
address?: string;
|
|
332
|
+
addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
333
|
+
} & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
334
|
+
} & { [K_5 in Exclude<keyof I_1, keyof MsgStoreCode>]: never; }>(object: I_1): MsgStoreCode;
|
|
335
|
+
};
|
|
336
|
+
export declare const MsgStoreCodeResponse: {
|
|
337
|
+
encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
338
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse;
|
|
339
|
+
fromJSON(object: any): MsgStoreCodeResponse;
|
|
340
|
+
toJSON(message: MsgStoreCodeResponse): unknown;
|
|
341
|
+
create<I extends {
|
|
342
|
+
codeId?: number;
|
|
343
|
+
checksum?: Uint8Array;
|
|
344
|
+
} & {
|
|
345
|
+
codeId?: number;
|
|
346
|
+
checksum?: Uint8Array;
|
|
347
|
+
} & { [K in Exclude<keyof I, keyof MsgStoreCodeResponse>]: never; }>(base?: I): MsgStoreCodeResponse;
|
|
348
|
+
fromPartial<I_1 extends {
|
|
349
|
+
codeId?: number;
|
|
350
|
+
checksum?: Uint8Array;
|
|
351
|
+
} & {
|
|
352
|
+
codeId?: number;
|
|
353
|
+
checksum?: Uint8Array;
|
|
354
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgStoreCodeResponse>]: never; }>(object: I_1): MsgStoreCodeResponse;
|
|
355
|
+
};
|
|
356
|
+
export declare const MsgInstantiateContract: {
|
|
357
|
+
encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer;
|
|
358
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract;
|
|
359
|
+
fromJSON(object: any): MsgInstantiateContract;
|
|
360
|
+
toJSON(message: MsgInstantiateContract): unknown;
|
|
361
|
+
create<I extends {
|
|
362
|
+
sender?: string;
|
|
363
|
+
admin?: string;
|
|
364
|
+
codeId?: number;
|
|
365
|
+
label?: string;
|
|
366
|
+
msg?: Uint8Array;
|
|
367
|
+
funds?: {
|
|
368
|
+
denom?: string;
|
|
369
|
+
amount?: string;
|
|
370
|
+
}[];
|
|
371
|
+
} & {
|
|
372
|
+
sender?: string;
|
|
373
|
+
admin?: string;
|
|
374
|
+
codeId?: number;
|
|
375
|
+
label?: string;
|
|
376
|
+
msg?: Uint8Array;
|
|
377
|
+
funds?: {
|
|
378
|
+
denom?: string;
|
|
379
|
+
amount?: string;
|
|
380
|
+
}[] & ({
|
|
381
|
+
denom?: string;
|
|
382
|
+
amount?: string;
|
|
383
|
+
} & {
|
|
384
|
+
denom?: string;
|
|
385
|
+
amount?: string;
|
|
386
|
+
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
387
|
+
denom?: string;
|
|
388
|
+
amount?: string;
|
|
389
|
+
}[]>]: never; };
|
|
390
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgInstantiateContract>]: never; }>(base?: I): MsgInstantiateContract;
|
|
391
|
+
fromPartial<I_1 extends {
|
|
392
|
+
sender?: string;
|
|
393
|
+
admin?: string;
|
|
394
|
+
codeId?: number;
|
|
395
|
+
label?: string;
|
|
396
|
+
msg?: Uint8Array;
|
|
397
|
+
funds?: {
|
|
398
|
+
denom?: string;
|
|
399
|
+
amount?: string;
|
|
400
|
+
}[];
|
|
401
|
+
} & {
|
|
402
|
+
sender?: string;
|
|
403
|
+
admin?: string;
|
|
404
|
+
codeId?: number;
|
|
405
|
+
label?: string;
|
|
406
|
+
msg?: Uint8Array;
|
|
407
|
+
funds?: {
|
|
408
|
+
denom?: string;
|
|
409
|
+
amount?: string;
|
|
410
|
+
}[] & ({
|
|
411
|
+
denom?: string;
|
|
412
|
+
amount?: string;
|
|
413
|
+
} & {
|
|
414
|
+
denom?: string;
|
|
415
|
+
amount?: string;
|
|
416
|
+
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
417
|
+
denom?: string;
|
|
418
|
+
amount?: string;
|
|
419
|
+
}[]>]: never; };
|
|
420
|
+
} & { [K_5 in Exclude<keyof I_1, keyof MsgInstantiateContract>]: never; }>(object: I_1): MsgInstantiateContract;
|
|
421
|
+
};
|
|
422
|
+
export declare const MsgInstantiateContractResponse: {
|
|
423
|
+
encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
|
|
424
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse;
|
|
425
|
+
fromJSON(object: any): MsgInstantiateContractResponse;
|
|
426
|
+
toJSON(message: MsgInstantiateContractResponse): unknown;
|
|
427
|
+
create<I extends {
|
|
428
|
+
address?: string;
|
|
429
|
+
data?: Uint8Array;
|
|
430
|
+
} & {
|
|
431
|
+
address?: string;
|
|
432
|
+
data?: Uint8Array;
|
|
433
|
+
} & { [K in Exclude<keyof I, keyof MsgInstantiateContractResponse>]: never; }>(base?: I): MsgInstantiateContractResponse;
|
|
434
|
+
fromPartial<I_1 extends {
|
|
435
|
+
address?: string;
|
|
436
|
+
data?: Uint8Array;
|
|
437
|
+
} & {
|
|
438
|
+
address?: string;
|
|
439
|
+
data?: Uint8Array;
|
|
440
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgInstantiateContractResponse>]: never; }>(object: I_1): MsgInstantiateContractResponse;
|
|
441
|
+
};
|
|
442
|
+
export declare const MsgInstantiateContract2: {
|
|
443
|
+
encode(message: MsgInstantiateContract2, writer?: _m0.Writer): _m0.Writer;
|
|
444
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2;
|
|
445
|
+
fromJSON(object: any): MsgInstantiateContract2;
|
|
446
|
+
toJSON(message: MsgInstantiateContract2): unknown;
|
|
447
|
+
create<I extends {
|
|
448
|
+
sender?: string;
|
|
449
|
+
admin?: string;
|
|
450
|
+
codeId?: number;
|
|
451
|
+
label?: string;
|
|
452
|
+
msg?: Uint8Array;
|
|
453
|
+
funds?: {
|
|
454
|
+
denom?: string;
|
|
455
|
+
amount?: string;
|
|
456
|
+
}[];
|
|
457
|
+
salt?: Uint8Array;
|
|
458
|
+
fixMsg?: boolean;
|
|
459
|
+
} & {
|
|
460
|
+
sender?: string;
|
|
461
|
+
admin?: string;
|
|
462
|
+
codeId?: number;
|
|
463
|
+
label?: string;
|
|
464
|
+
msg?: Uint8Array;
|
|
465
|
+
funds?: {
|
|
466
|
+
denom?: string;
|
|
467
|
+
amount?: string;
|
|
468
|
+
}[] & ({
|
|
469
|
+
denom?: string;
|
|
470
|
+
amount?: string;
|
|
471
|
+
} & {
|
|
472
|
+
denom?: string;
|
|
473
|
+
amount?: string;
|
|
474
|
+
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
475
|
+
denom?: string;
|
|
476
|
+
amount?: string;
|
|
477
|
+
}[]>]: never; };
|
|
478
|
+
salt?: Uint8Array;
|
|
479
|
+
fixMsg?: boolean;
|
|
480
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgInstantiateContract2>]: never; }>(base?: I): MsgInstantiateContract2;
|
|
481
|
+
fromPartial<I_1 extends {
|
|
482
|
+
sender?: string;
|
|
483
|
+
admin?: string;
|
|
484
|
+
codeId?: number;
|
|
485
|
+
label?: string;
|
|
486
|
+
msg?: Uint8Array;
|
|
487
|
+
funds?: {
|
|
488
|
+
denom?: string;
|
|
489
|
+
amount?: string;
|
|
490
|
+
}[];
|
|
491
|
+
salt?: Uint8Array;
|
|
492
|
+
fixMsg?: boolean;
|
|
493
|
+
} & {
|
|
494
|
+
sender?: string;
|
|
495
|
+
admin?: string;
|
|
496
|
+
codeId?: number;
|
|
497
|
+
label?: string;
|
|
498
|
+
msg?: Uint8Array;
|
|
499
|
+
funds?: {
|
|
500
|
+
denom?: string;
|
|
501
|
+
amount?: string;
|
|
502
|
+
}[] & ({
|
|
503
|
+
denom?: string;
|
|
504
|
+
amount?: string;
|
|
505
|
+
} & {
|
|
506
|
+
denom?: string;
|
|
507
|
+
amount?: string;
|
|
508
|
+
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
509
|
+
denom?: string;
|
|
510
|
+
amount?: string;
|
|
511
|
+
}[]>]: never; };
|
|
512
|
+
salt?: Uint8Array;
|
|
513
|
+
fixMsg?: boolean;
|
|
514
|
+
} & { [K_5 in Exclude<keyof I_1, keyof MsgInstantiateContract2>]: never; }>(object: I_1): MsgInstantiateContract2;
|
|
515
|
+
};
|
|
516
|
+
export declare const MsgInstantiateContract2Response: {
|
|
517
|
+
encode(message: MsgInstantiateContract2Response, writer?: _m0.Writer): _m0.Writer;
|
|
518
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2Response;
|
|
519
|
+
fromJSON(object: any): MsgInstantiateContract2Response;
|
|
520
|
+
toJSON(message: MsgInstantiateContract2Response): unknown;
|
|
521
|
+
create<I extends {
|
|
522
|
+
address?: string;
|
|
523
|
+
data?: Uint8Array;
|
|
524
|
+
} & {
|
|
525
|
+
address?: string;
|
|
526
|
+
data?: Uint8Array;
|
|
527
|
+
} & { [K in Exclude<keyof I, keyof MsgInstantiateContract2Response>]: never; }>(base?: I): MsgInstantiateContract2Response;
|
|
528
|
+
fromPartial<I_1 extends {
|
|
529
|
+
address?: string;
|
|
530
|
+
data?: Uint8Array;
|
|
531
|
+
} & {
|
|
532
|
+
address?: string;
|
|
533
|
+
data?: Uint8Array;
|
|
534
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgInstantiateContract2Response>]: never; }>(object: I_1): MsgInstantiateContract2Response;
|
|
535
|
+
};
|
|
536
|
+
export declare const MsgExecuteContract: {
|
|
537
|
+
encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer;
|
|
538
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract;
|
|
539
|
+
fromJSON(object: any): MsgExecuteContract;
|
|
540
|
+
toJSON(message: MsgExecuteContract): unknown;
|
|
541
|
+
create<I extends {
|
|
542
|
+
sender?: string;
|
|
543
|
+
contract?: string;
|
|
544
|
+
msg?: Uint8Array;
|
|
545
|
+
funds?: {
|
|
546
|
+
denom?: string;
|
|
547
|
+
amount?: string;
|
|
548
|
+
}[];
|
|
549
|
+
} & {
|
|
550
|
+
sender?: string;
|
|
551
|
+
contract?: string;
|
|
552
|
+
msg?: Uint8Array;
|
|
553
|
+
funds?: {
|
|
554
|
+
denom?: string;
|
|
555
|
+
amount?: string;
|
|
556
|
+
}[] & ({
|
|
557
|
+
denom?: string;
|
|
558
|
+
amount?: string;
|
|
559
|
+
} & {
|
|
560
|
+
denom?: string;
|
|
561
|
+
amount?: string;
|
|
562
|
+
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
563
|
+
denom?: string;
|
|
564
|
+
amount?: string;
|
|
565
|
+
}[]>]: never; };
|
|
566
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgExecuteContract>]: never; }>(base?: I): MsgExecuteContract;
|
|
567
|
+
fromPartial<I_1 extends {
|
|
568
|
+
sender?: string;
|
|
569
|
+
contract?: string;
|
|
570
|
+
msg?: Uint8Array;
|
|
571
|
+
funds?: {
|
|
572
|
+
denom?: string;
|
|
573
|
+
amount?: string;
|
|
574
|
+
}[];
|
|
575
|
+
} & {
|
|
576
|
+
sender?: string;
|
|
577
|
+
contract?: string;
|
|
578
|
+
msg?: Uint8Array;
|
|
579
|
+
funds?: {
|
|
580
|
+
denom?: string;
|
|
581
|
+
amount?: string;
|
|
582
|
+
}[] & ({
|
|
583
|
+
denom?: string;
|
|
584
|
+
amount?: string;
|
|
585
|
+
} & {
|
|
586
|
+
denom?: string;
|
|
587
|
+
amount?: string;
|
|
588
|
+
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
589
|
+
denom?: string;
|
|
590
|
+
amount?: string;
|
|
591
|
+
}[]>]: never; };
|
|
592
|
+
} & { [K_5 in Exclude<keyof I_1, keyof MsgExecuteContract>]: never; }>(object: I_1): MsgExecuteContract;
|
|
593
|
+
};
|
|
594
|
+
export declare const MsgExecuteContractResponse: {
|
|
595
|
+
encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer;
|
|
596
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse;
|
|
597
|
+
fromJSON(object: any): MsgExecuteContractResponse;
|
|
598
|
+
toJSON(message: MsgExecuteContractResponse): unknown;
|
|
599
|
+
create<I extends {
|
|
600
|
+
data?: Uint8Array;
|
|
601
|
+
} & {
|
|
602
|
+
data?: Uint8Array;
|
|
603
|
+
} & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgExecuteContractResponse;
|
|
604
|
+
fromPartial<I_1 extends {
|
|
605
|
+
data?: Uint8Array;
|
|
606
|
+
} & {
|
|
607
|
+
data?: Uint8Array;
|
|
608
|
+
} & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgExecuteContractResponse;
|
|
609
|
+
};
|
|
610
|
+
export declare const MsgMigrateContract: {
|
|
611
|
+
encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer;
|
|
612
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract;
|
|
613
|
+
fromJSON(object: any): MsgMigrateContract;
|
|
614
|
+
toJSON(message: MsgMigrateContract): unknown;
|
|
615
|
+
create<I extends {
|
|
616
|
+
sender?: string;
|
|
617
|
+
contract?: string;
|
|
618
|
+
codeId?: number;
|
|
619
|
+
msg?: Uint8Array;
|
|
620
|
+
} & {
|
|
621
|
+
sender?: string;
|
|
622
|
+
contract?: string;
|
|
623
|
+
codeId?: number;
|
|
624
|
+
msg?: Uint8Array;
|
|
625
|
+
} & { [K in Exclude<keyof I, keyof MsgMigrateContract>]: never; }>(base?: I): MsgMigrateContract;
|
|
626
|
+
fromPartial<I_1 extends {
|
|
627
|
+
sender?: string;
|
|
628
|
+
contract?: string;
|
|
629
|
+
codeId?: number;
|
|
630
|
+
msg?: Uint8Array;
|
|
631
|
+
} & {
|
|
632
|
+
sender?: string;
|
|
633
|
+
contract?: string;
|
|
634
|
+
codeId?: number;
|
|
635
|
+
msg?: Uint8Array;
|
|
636
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgMigrateContract>]: never; }>(object: I_1): MsgMigrateContract;
|
|
637
|
+
};
|
|
638
|
+
export declare const MsgMigrateContractResponse: {
|
|
639
|
+
encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer;
|
|
640
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse;
|
|
641
|
+
fromJSON(object: any): MsgMigrateContractResponse;
|
|
642
|
+
toJSON(message: MsgMigrateContractResponse): unknown;
|
|
643
|
+
create<I extends {
|
|
644
|
+
data?: Uint8Array;
|
|
645
|
+
} & {
|
|
646
|
+
data?: Uint8Array;
|
|
647
|
+
} & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgMigrateContractResponse;
|
|
648
|
+
fromPartial<I_1 extends {
|
|
649
|
+
data?: Uint8Array;
|
|
650
|
+
} & {
|
|
651
|
+
data?: Uint8Array;
|
|
652
|
+
} & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgMigrateContractResponse;
|
|
653
|
+
};
|
|
654
|
+
export declare const MsgUpdateAdmin: {
|
|
655
|
+
encode(message: MsgUpdateAdmin, writer?: _m0.Writer): _m0.Writer;
|
|
656
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin;
|
|
657
|
+
fromJSON(object: any): MsgUpdateAdmin;
|
|
658
|
+
toJSON(message: MsgUpdateAdmin): unknown;
|
|
659
|
+
create<I extends {
|
|
660
|
+
sender?: string;
|
|
661
|
+
newAdmin?: string;
|
|
662
|
+
contract?: string;
|
|
663
|
+
} & {
|
|
664
|
+
sender?: string;
|
|
665
|
+
newAdmin?: string;
|
|
666
|
+
contract?: string;
|
|
667
|
+
} & { [K in Exclude<keyof I, keyof MsgUpdateAdmin>]: never; }>(base?: I): MsgUpdateAdmin;
|
|
668
|
+
fromPartial<I_1 extends {
|
|
669
|
+
sender?: string;
|
|
670
|
+
newAdmin?: string;
|
|
671
|
+
contract?: string;
|
|
672
|
+
} & {
|
|
673
|
+
sender?: string;
|
|
674
|
+
newAdmin?: string;
|
|
675
|
+
contract?: string;
|
|
676
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgUpdateAdmin>]: never; }>(object: I_1): MsgUpdateAdmin;
|
|
677
|
+
};
|
|
678
|
+
export declare const MsgUpdateAdminResponse: {
|
|
679
|
+
encode(_: MsgUpdateAdminResponse, writer?: _m0.Writer): _m0.Writer;
|
|
680
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse;
|
|
681
|
+
fromJSON(_: any): MsgUpdateAdminResponse;
|
|
682
|
+
toJSON(_: MsgUpdateAdminResponse): unknown;
|
|
683
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateAdminResponse;
|
|
684
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateAdminResponse;
|
|
685
|
+
};
|
|
686
|
+
export declare const MsgClearAdmin: {
|
|
687
|
+
encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer;
|
|
688
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin;
|
|
689
|
+
fromJSON(object: any): MsgClearAdmin;
|
|
690
|
+
toJSON(message: MsgClearAdmin): unknown;
|
|
691
|
+
create<I extends {
|
|
692
|
+
sender?: string;
|
|
693
|
+
contract?: string;
|
|
694
|
+
} & {
|
|
695
|
+
sender?: string;
|
|
696
|
+
contract?: string;
|
|
697
|
+
} & { [K in Exclude<keyof I, keyof MsgClearAdmin>]: never; }>(base?: I): MsgClearAdmin;
|
|
698
|
+
fromPartial<I_1 extends {
|
|
699
|
+
sender?: string;
|
|
700
|
+
contract?: string;
|
|
701
|
+
} & {
|
|
702
|
+
sender?: string;
|
|
703
|
+
contract?: string;
|
|
704
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgClearAdmin>]: never; }>(object: I_1): MsgClearAdmin;
|
|
705
|
+
};
|
|
706
|
+
export declare const MsgClearAdminResponse: {
|
|
707
|
+
encode(_: MsgClearAdminResponse, writer?: _m0.Writer): _m0.Writer;
|
|
708
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse;
|
|
709
|
+
fromJSON(_: any): MsgClearAdminResponse;
|
|
710
|
+
toJSON(_: MsgClearAdminResponse): unknown;
|
|
711
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgClearAdminResponse;
|
|
712
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgClearAdminResponse;
|
|
713
|
+
};
|
|
714
|
+
export declare const MsgUpdateInstantiateConfig: {
|
|
715
|
+
encode(message: MsgUpdateInstantiateConfig, writer?: _m0.Writer): _m0.Writer;
|
|
716
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfig;
|
|
717
|
+
fromJSON(object: any): MsgUpdateInstantiateConfig;
|
|
718
|
+
toJSON(message: MsgUpdateInstantiateConfig): unknown;
|
|
719
|
+
create<I extends {
|
|
720
|
+
sender?: string;
|
|
721
|
+
codeId?: number;
|
|
722
|
+
newInstantiatePermission?: {
|
|
723
|
+
permission?: import("./types").AccessType;
|
|
724
|
+
address?: string;
|
|
725
|
+
addresses?: string[];
|
|
726
|
+
};
|
|
727
|
+
} & {
|
|
728
|
+
sender?: string;
|
|
729
|
+
codeId?: number;
|
|
730
|
+
newInstantiatePermission?: {
|
|
731
|
+
permission?: import("./types").AccessType;
|
|
732
|
+
address?: string;
|
|
733
|
+
addresses?: string[];
|
|
734
|
+
} & {
|
|
735
|
+
permission?: import("./types").AccessType;
|
|
736
|
+
address?: string;
|
|
737
|
+
addresses?: string[] & string[] & { [K in Exclude<keyof I["newInstantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
738
|
+
} & { [K_1 in Exclude<keyof I["newInstantiatePermission"], keyof AccessConfig>]: never; };
|
|
739
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgUpdateInstantiateConfig>]: never; }>(base?: I): MsgUpdateInstantiateConfig;
|
|
740
|
+
fromPartial<I_1 extends {
|
|
741
|
+
sender?: string;
|
|
742
|
+
codeId?: number;
|
|
743
|
+
newInstantiatePermission?: {
|
|
744
|
+
permission?: import("./types").AccessType;
|
|
745
|
+
address?: string;
|
|
746
|
+
addresses?: string[];
|
|
747
|
+
};
|
|
748
|
+
} & {
|
|
749
|
+
sender?: string;
|
|
750
|
+
codeId?: number;
|
|
751
|
+
newInstantiatePermission?: {
|
|
752
|
+
permission?: import("./types").AccessType;
|
|
753
|
+
address?: string;
|
|
754
|
+
addresses?: string[];
|
|
755
|
+
} & {
|
|
756
|
+
permission?: import("./types").AccessType;
|
|
757
|
+
address?: string;
|
|
758
|
+
addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["newInstantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
759
|
+
} & { [K_4 in Exclude<keyof I_1["newInstantiatePermission"], keyof AccessConfig>]: never; };
|
|
760
|
+
} & { [K_5 in Exclude<keyof I_1, keyof MsgUpdateInstantiateConfig>]: never; }>(object: I_1): MsgUpdateInstantiateConfig;
|
|
761
|
+
};
|
|
762
|
+
export declare const MsgUpdateInstantiateConfigResponse: {
|
|
763
|
+
encode(_: MsgUpdateInstantiateConfigResponse, writer?: _m0.Writer): _m0.Writer;
|
|
764
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfigResponse;
|
|
765
|
+
fromJSON(_: any): MsgUpdateInstantiateConfigResponse;
|
|
766
|
+
toJSON(_: MsgUpdateInstantiateConfigResponse): unknown;
|
|
767
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateInstantiateConfigResponse;
|
|
768
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateInstantiateConfigResponse;
|
|
769
|
+
};
|
|
770
|
+
export declare const MsgUpdateParams: {
|
|
771
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
772
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
|
|
773
|
+
fromJSON(object: any): MsgUpdateParams;
|
|
774
|
+
toJSON(message: MsgUpdateParams): unknown;
|
|
775
|
+
create<I extends {
|
|
776
|
+
authority?: string;
|
|
777
|
+
params?: {
|
|
778
|
+
codeUploadAccess?: {
|
|
779
|
+
permission?: import("./types").AccessType;
|
|
780
|
+
address?: string;
|
|
781
|
+
addresses?: string[];
|
|
782
|
+
};
|
|
783
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
784
|
+
};
|
|
785
|
+
} & {
|
|
786
|
+
authority?: string;
|
|
787
|
+
params?: {
|
|
788
|
+
codeUploadAccess?: {
|
|
789
|
+
permission?: import("./types").AccessType;
|
|
790
|
+
address?: string;
|
|
791
|
+
addresses?: string[];
|
|
792
|
+
};
|
|
793
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
794
|
+
} & {
|
|
795
|
+
codeUploadAccess?: {
|
|
796
|
+
permission?: import("./types").AccessType;
|
|
797
|
+
address?: string;
|
|
798
|
+
addresses?: string[];
|
|
799
|
+
} & {
|
|
800
|
+
permission?: import("./types").AccessType;
|
|
801
|
+
address?: string;
|
|
802
|
+
addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
|
|
803
|
+
} & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
|
|
804
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
805
|
+
} & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
|
|
806
|
+
} & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
|
|
807
|
+
fromPartial<I_1 extends {
|
|
808
|
+
authority?: string;
|
|
809
|
+
params?: {
|
|
810
|
+
codeUploadAccess?: {
|
|
811
|
+
permission?: import("./types").AccessType;
|
|
812
|
+
address?: string;
|
|
813
|
+
addresses?: string[];
|
|
814
|
+
};
|
|
815
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
816
|
+
};
|
|
817
|
+
} & {
|
|
818
|
+
authority?: string;
|
|
819
|
+
params?: {
|
|
820
|
+
codeUploadAccess?: {
|
|
821
|
+
permission?: import("./types").AccessType;
|
|
822
|
+
address?: string;
|
|
823
|
+
addresses?: string[];
|
|
824
|
+
};
|
|
825
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
826
|
+
} & {
|
|
827
|
+
codeUploadAccess?: {
|
|
828
|
+
permission?: import("./types").AccessType;
|
|
829
|
+
address?: string;
|
|
830
|
+
addresses?: string[];
|
|
831
|
+
} & {
|
|
832
|
+
permission?: import("./types").AccessType;
|
|
833
|
+
address?: string;
|
|
834
|
+
addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
|
|
835
|
+
} & { [K_5 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
|
|
836
|
+
instantiateDefaultPermission?: import("./types").AccessType;
|
|
837
|
+
} & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
|
|
838
|
+
} & { [K_7 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
|
|
839
|
+
};
|
|
840
|
+
export declare const MsgUpdateParamsResponse: {
|
|
841
|
+
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
842
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
|
|
843
|
+
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
844
|
+
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
845
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
|
|
846
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
|
|
847
|
+
};
|
|
848
|
+
export declare const MsgSudoContract: {
|
|
849
|
+
encode(message: MsgSudoContract, writer?: _m0.Writer): _m0.Writer;
|
|
850
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContract;
|
|
851
|
+
fromJSON(object: any): MsgSudoContract;
|
|
852
|
+
toJSON(message: MsgSudoContract): unknown;
|
|
853
|
+
create<I extends {
|
|
854
|
+
authority?: string;
|
|
855
|
+
contract?: string;
|
|
856
|
+
msg?: Uint8Array;
|
|
857
|
+
} & {
|
|
858
|
+
authority?: string;
|
|
859
|
+
contract?: string;
|
|
860
|
+
msg?: Uint8Array;
|
|
861
|
+
} & { [K in Exclude<keyof I, keyof MsgSudoContract>]: never; }>(base?: I): MsgSudoContract;
|
|
862
|
+
fromPartial<I_1 extends {
|
|
863
|
+
authority?: string;
|
|
864
|
+
contract?: string;
|
|
865
|
+
msg?: Uint8Array;
|
|
866
|
+
} & {
|
|
867
|
+
authority?: string;
|
|
868
|
+
contract?: string;
|
|
869
|
+
msg?: Uint8Array;
|
|
870
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgSudoContract>]: never; }>(object: I_1): MsgSudoContract;
|
|
871
|
+
};
|
|
872
|
+
export declare const MsgSudoContractResponse: {
|
|
873
|
+
encode(message: MsgSudoContractResponse, writer?: _m0.Writer): _m0.Writer;
|
|
874
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContractResponse;
|
|
875
|
+
fromJSON(object: any): MsgSudoContractResponse;
|
|
876
|
+
toJSON(message: MsgSudoContractResponse): unknown;
|
|
877
|
+
create<I extends {
|
|
878
|
+
data?: Uint8Array;
|
|
879
|
+
} & {
|
|
880
|
+
data?: Uint8Array;
|
|
881
|
+
} & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): MsgSudoContractResponse;
|
|
882
|
+
fromPartial<I_1 extends {
|
|
883
|
+
data?: Uint8Array;
|
|
884
|
+
} & {
|
|
885
|
+
data?: Uint8Array;
|
|
886
|
+
} & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): MsgSudoContractResponse;
|
|
887
|
+
};
|
|
888
|
+
export declare const MsgPinCodes: {
|
|
889
|
+
encode(message: MsgPinCodes, writer?: _m0.Writer): _m0.Writer;
|
|
890
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodes;
|
|
891
|
+
fromJSON(object: any): MsgPinCodes;
|
|
892
|
+
toJSON(message: MsgPinCodes): unknown;
|
|
893
|
+
create<I extends {
|
|
894
|
+
authority?: string;
|
|
895
|
+
codeIds?: number[];
|
|
896
|
+
} & {
|
|
897
|
+
authority?: string;
|
|
898
|
+
codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
|
|
899
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgPinCodes>]: never; }>(base?: I): MsgPinCodes;
|
|
900
|
+
fromPartial<I_1 extends {
|
|
901
|
+
authority?: string;
|
|
902
|
+
codeIds?: number[];
|
|
903
|
+
} & {
|
|
904
|
+
authority?: string;
|
|
905
|
+
codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
|
|
906
|
+
} & { [K_3 in Exclude<keyof I_1, keyof MsgPinCodes>]: never; }>(object: I_1): MsgPinCodes;
|
|
907
|
+
};
|
|
908
|
+
export declare const MsgPinCodesResponse: {
|
|
909
|
+
encode(_: MsgPinCodesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
910
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodesResponse;
|
|
911
|
+
fromJSON(_: any): MsgPinCodesResponse;
|
|
912
|
+
toJSON(_: MsgPinCodesResponse): unknown;
|
|
913
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgPinCodesResponse;
|
|
914
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgPinCodesResponse;
|
|
915
|
+
};
|
|
916
|
+
export declare const MsgUnpinCodes: {
|
|
917
|
+
encode(message: MsgUnpinCodes, writer?: _m0.Writer): _m0.Writer;
|
|
918
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodes;
|
|
919
|
+
fromJSON(object: any): MsgUnpinCodes;
|
|
920
|
+
toJSON(message: MsgUnpinCodes): unknown;
|
|
921
|
+
create<I extends {
|
|
922
|
+
authority?: string;
|
|
923
|
+
codeIds?: number[];
|
|
924
|
+
} & {
|
|
925
|
+
authority?: string;
|
|
926
|
+
codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
|
|
927
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgUnpinCodes>]: never; }>(base?: I): MsgUnpinCodes;
|
|
928
|
+
fromPartial<I_1 extends {
|
|
929
|
+
authority?: string;
|
|
930
|
+
codeIds?: number[];
|
|
931
|
+
} & {
|
|
932
|
+
authority?: string;
|
|
933
|
+
codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
|
|
934
|
+
} & { [K_3 in Exclude<keyof I_1, keyof MsgUnpinCodes>]: never; }>(object: I_1): MsgUnpinCodes;
|
|
935
|
+
};
|
|
936
|
+
export declare const MsgUnpinCodesResponse: {
|
|
937
|
+
encode(_: MsgUnpinCodesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
938
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodesResponse;
|
|
939
|
+
fromJSON(_: any): MsgUnpinCodesResponse;
|
|
940
|
+
toJSON(_: MsgUnpinCodesResponse): unknown;
|
|
941
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUnpinCodesResponse;
|
|
942
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUnpinCodesResponse;
|
|
943
|
+
};
|
|
944
|
+
export declare const MsgStoreAndInstantiateContract: {
|
|
945
|
+
encode(message: MsgStoreAndInstantiateContract, writer?: _m0.Writer): _m0.Writer;
|
|
946
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContract;
|
|
947
|
+
fromJSON(object: any): MsgStoreAndInstantiateContract;
|
|
948
|
+
toJSON(message: MsgStoreAndInstantiateContract): unknown;
|
|
949
|
+
create<I extends {
|
|
950
|
+
authority?: string;
|
|
951
|
+
wasmByteCode?: Uint8Array;
|
|
952
|
+
instantiatePermission?: {
|
|
953
|
+
permission?: import("./types").AccessType;
|
|
954
|
+
address?: string;
|
|
955
|
+
addresses?: string[];
|
|
956
|
+
};
|
|
957
|
+
unpinCode?: boolean;
|
|
958
|
+
admin?: string;
|
|
959
|
+
label?: string;
|
|
960
|
+
msg?: Uint8Array;
|
|
961
|
+
funds?: {
|
|
962
|
+
denom?: string;
|
|
963
|
+
amount?: string;
|
|
964
|
+
}[];
|
|
965
|
+
source?: string;
|
|
966
|
+
builder?: string;
|
|
967
|
+
codeHash?: Uint8Array;
|
|
968
|
+
} & {
|
|
969
|
+
authority?: string;
|
|
970
|
+
wasmByteCode?: Uint8Array;
|
|
971
|
+
instantiatePermission?: {
|
|
972
|
+
permission?: import("./types").AccessType;
|
|
973
|
+
address?: string;
|
|
974
|
+
addresses?: string[];
|
|
975
|
+
} & {
|
|
976
|
+
permission?: import("./types").AccessType;
|
|
977
|
+
address?: string;
|
|
978
|
+
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
979
|
+
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
980
|
+
unpinCode?: boolean;
|
|
981
|
+
admin?: string;
|
|
982
|
+
label?: string;
|
|
983
|
+
msg?: Uint8Array;
|
|
984
|
+
funds?: {
|
|
985
|
+
denom?: string;
|
|
986
|
+
amount?: string;
|
|
987
|
+
}[] & ({
|
|
988
|
+
denom?: string;
|
|
989
|
+
amount?: string;
|
|
990
|
+
} & {
|
|
991
|
+
denom?: string;
|
|
992
|
+
amount?: string;
|
|
993
|
+
} & { [K_2 in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["funds"], keyof {
|
|
994
|
+
denom?: string;
|
|
995
|
+
amount?: string;
|
|
996
|
+
}[]>]: never; };
|
|
997
|
+
source?: string;
|
|
998
|
+
builder?: string;
|
|
999
|
+
codeHash?: Uint8Array;
|
|
1000
|
+
} & { [K_4 in Exclude<keyof I, keyof MsgStoreAndInstantiateContract>]: never; }>(base?: I): MsgStoreAndInstantiateContract;
|
|
1001
|
+
fromPartial<I_1 extends {
|
|
1002
|
+
authority?: string;
|
|
1003
|
+
wasmByteCode?: Uint8Array;
|
|
1004
|
+
instantiatePermission?: {
|
|
1005
|
+
permission?: import("./types").AccessType;
|
|
1006
|
+
address?: string;
|
|
1007
|
+
addresses?: string[];
|
|
1008
|
+
};
|
|
1009
|
+
unpinCode?: boolean;
|
|
1010
|
+
admin?: string;
|
|
1011
|
+
label?: string;
|
|
1012
|
+
msg?: Uint8Array;
|
|
1013
|
+
funds?: {
|
|
1014
|
+
denom?: string;
|
|
1015
|
+
amount?: string;
|
|
1016
|
+
}[];
|
|
1017
|
+
source?: string;
|
|
1018
|
+
builder?: string;
|
|
1019
|
+
codeHash?: Uint8Array;
|
|
1020
|
+
} & {
|
|
1021
|
+
authority?: string;
|
|
1022
|
+
wasmByteCode?: Uint8Array;
|
|
1023
|
+
instantiatePermission?: {
|
|
1024
|
+
permission?: import("./types").AccessType;
|
|
1025
|
+
address?: string;
|
|
1026
|
+
addresses?: string[];
|
|
1027
|
+
} & {
|
|
1028
|
+
permission?: import("./types").AccessType;
|
|
1029
|
+
address?: string;
|
|
1030
|
+
addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
1031
|
+
} & { [K_6 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
1032
|
+
unpinCode?: boolean;
|
|
1033
|
+
admin?: string;
|
|
1034
|
+
label?: string;
|
|
1035
|
+
msg?: Uint8Array;
|
|
1036
|
+
funds?: {
|
|
1037
|
+
denom?: string;
|
|
1038
|
+
amount?: string;
|
|
1039
|
+
}[] & ({
|
|
1040
|
+
denom?: string;
|
|
1041
|
+
amount?: string;
|
|
1042
|
+
} & {
|
|
1043
|
+
denom?: string;
|
|
1044
|
+
amount?: string;
|
|
1045
|
+
} & { [K_7 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_8 in Exclude<keyof I_1["funds"], keyof {
|
|
1046
|
+
denom?: string;
|
|
1047
|
+
amount?: string;
|
|
1048
|
+
}[]>]: never; };
|
|
1049
|
+
source?: string;
|
|
1050
|
+
builder?: string;
|
|
1051
|
+
codeHash?: Uint8Array;
|
|
1052
|
+
} & { [K_9 in Exclude<keyof I_1, keyof MsgStoreAndInstantiateContract>]: never; }>(object: I_1): MsgStoreAndInstantiateContract;
|
|
1053
|
+
};
|
|
1054
|
+
export declare const MsgStoreAndInstantiateContractResponse: {
|
|
1055
|
+
encode(message: MsgStoreAndInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1056
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContractResponse;
|
|
1057
|
+
fromJSON(object: any): MsgStoreAndInstantiateContractResponse;
|
|
1058
|
+
toJSON(message: MsgStoreAndInstantiateContractResponse): unknown;
|
|
1059
|
+
create<I extends {
|
|
1060
|
+
address?: string;
|
|
1061
|
+
data?: Uint8Array;
|
|
1062
|
+
} & {
|
|
1063
|
+
address?: string;
|
|
1064
|
+
data?: Uint8Array;
|
|
1065
|
+
} & { [K in Exclude<keyof I, keyof MsgStoreAndInstantiateContractResponse>]: never; }>(base?: I): MsgStoreAndInstantiateContractResponse;
|
|
1066
|
+
fromPartial<I_1 extends {
|
|
1067
|
+
address?: string;
|
|
1068
|
+
data?: Uint8Array;
|
|
1069
|
+
} & {
|
|
1070
|
+
address?: string;
|
|
1071
|
+
data?: Uint8Array;
|
|
1072
|
+
} & { [K_1 in Exclude<keyof I_1, keyof MsgStoreAndInstantiateContractResponse>]: never; }>(object: I_1): MsgStoreAndInstantiateContractResponse;
|
|
1073
|
+
};
|
|
1074
|
+
/** Msg defines the wasm Msg service. */
|
|
1075
|
+
export interface Msg {
|
|
1076
|
+
/** StoreCode to submit Wasm code to the system */
|
|
1077
|
+
StoreCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
|
|
1078
|
+
/**
|
|
1079
|
+
* InstantiateContract creates a new smart contract instance for the given
|
|
1080
|
+
* code id.
|
|
1081
|
+
*/
|
|
1082
|
+
InstantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
|
|
1083
|
+
/**
|
|
1084
|
+
* InstantiateContract2 creates a new smart contract instance for the given
|
|
1085
|
+
* code id with a predictable address
|
|
1086
|
+
*/
|
|
1087
|
+
InstantiateContract2(request: MsgInstantiateContract2): Promise<MsgInstantiateContract2Response>;
|
|
1088
|
+
/** Execute submits the given message data to a smart contract */
|
|
1089
|
+
ExecuteContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
|
|
1090
|
+
/** Migrate runs a code upgrade/ downgrade for a smart contract */
|
|
1091
|
+
MigrateContract(request: MsgMigrateContract): Promise<MsgMigrateContractResponse>;
|
|
1092
|
+
/** UpdateAdmin sets a new admin for a smart contract */
|
|
1093
|
+
UpdateAdmin(request: MsgUpdateAdmin): Promise<MsgUpdateAdminResponse>;
|
|
1094
|
+
/** ClearAdmin removes any admin stored for a smart contract */
|
|
1095
|
+
ClearAdmin(request: MsgClearAdmin): Promise<MsgClearAdminResponse>;
|
|
1096
|
+
/** UpdateInstantiateConfig updates instantiate config for a smart contract */
|
|
1097
|
+
UpdateInstantiateConfig(request: MsgUpdateInstantiateConfig): Promise<MsgUpdateInstantiateConfigResponse>;
|
|
1098
|
+
/**
|
|
1099
|
+
* UpdateParams defines a governance operation for updating the x/wasm
|
|
1100
|
+
* module parameters. The authority is defined in the keeper.
|
|
1101
|
+
*
|
|
1102
|
+
* Since: 0.40
|
|
1103
|
+
*/
|
|
1104
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
1105
|
+
/**
|
|
1106
|
+
* SudoContract defines a governance operation for calling sudo
|
|
1107
|
+
* on a contract. The authority is defined in the keeper.
|
|
1108
|
+
*
|
|
1109
|
+
* Since: 0.40
|
|
1110
|
+
*/
|
|
1111
|
+
SudoContract(request: MsgSudoContract): Promise<MsgSudoContractResponse>;
|
|
1112
|
+
/**
|
|
1113
|
+
* PinCodes defines a governance operation for pinning a set of
|
|
1114
|
+
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
1115
|
+
*
|
|
1116
|
+
* Since: 0.40
|
|
1117
|
+
*/
|
|
1118
|
+
PinCodes(request: MsgPinCodes): Promise<MsgPinCodesResponse>;
|
|
1119
|
+
/**
|
|
1120
|
+
* UnpinCodes defines a governance operation for unpinning a set of
|
|
1121
|
+
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
1122
|
+
*
|
|
1123
|
+
* Since: 0.40
|
|
1124
|
+
*/
|
|
1125
|
+
UnpinCodes(request: MsgUnpinCodes): Promise<MsgUnpinCodesResponse>;
|
|
1126
|
+
/**
|
|
1127
|
+
* StoreAndInstantiateContract defines a governance operation for storing
|
|
1128
|
+
* and instantiating the contract. The authority is defined in the keeper.
|
|
1129
|
+
*
|
|
1130
|
+
* Since: 0.40
|
|
1131
|
+
*/
|
|
1132
|
+
StoreAndInstantiateContract(request: MsgStoreAndInstantiateContract): Promise<MsgStoreAndInstantiateContractResponse>;
|
|
1133
|
+
}
|
|
1134
|
+
export declare class MsgClientImpl implements Msg {
|
|
1135
|
+
private readonly rpc;
|
|
1136
|
+
private readonly service;
|
|
1137
|
+
constructor(rpc: Rpc, opts?: {
|
|
1138
|
+
service?: string;
|
|
1139
|
+
});
|
|
1140
|
+
StoreCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
|
|
1141
|
+
InstantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
|
|
1142
|
+
InstantiateContract2(request: MsgInstantiateContract2): Promise<MsgInstantiateContract2Response>;
|
|
1143
|
+
ExecuteContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
|
|
1144
|
+
MigrateContract(request: MsgMigrateContract): Promise<MsgMigrateContractResponse>;
|
|
1145
|
+
UpdateAdmin(request: MsgUpdateAdmin): Promise<MsgUpdateAdminResponse>;
|
|
1146
|
+
ClearAdmin(request: MsgClearAdmin): Promise<MsgClearAdminResponse>;
|
|
1147
|
+
UpdateInstantiateConfig(request: MsgUpdateInstantiateConfig): Promise<MsgUpdateInstantiateConfigResponse>;
|
|
1148
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
1149
|
+
SudoContract(request: MsgSudoContract): Promise<MsgSudoContractResponse>;
|
|
1150
|
+
PinCodes(request: MsgPinCodes): Promise<MsgPinCodesResponse>;
|
|
1151
|
+
UnpinCodes(request: MsgUnpinCodes): Promise<MsgUnpinCodesResponse>;
|
|
1152
|
+
StoreAndInstantiateContract(request: MsgStoreAndInstantiateContract): Promise<MsgStoreAndInstantiateContractResponse>;
|
|
1153
|
+
}
|
|
1154
|
+
interface Rpc {
|
|
1155
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
1156
|
+
}
|
|
1157
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1158
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1159
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1160
|
+
} : Partial<T>;
|
|
1161
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
1162
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
1163
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
1164
|
+
} & {
|
|
1165
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1166
|
+
};
|
|
1167
|
+
export {};
|