@@ -95,7 +95,7 @@ Contract struct encompasses ContractAddress, ContractInfo, and ContractState
95
95
96
96
| Field | Type | Label | Description |
97
97
| ----- | ---- | ----- | ----------- |
98
- | contract_address | [ bytes ] ( #bytes ) | | |
98
+ | contract_address | [ string ] ( #string ) | | |
99
99
| contract_info | [ ContractInfo] ( #wasmd.x.wasmd.v1beta1.ContractInfo ) | | |
100
100
| contract_state | [ Model] ( #wasmd.x.wasmd.v1beta1.Model ) | repeated | |
101
101
@@ -162,8 +162,8 @@ MsgClearAdmin removes any admin stored for a smart contract
162
162
163
163
| Field | Type | Label | Description |
164
164
| ----- | ---- | ----- | ----------- |
165
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
166
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
165
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
166
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
167
167
168
168
169
169
@@ -178,8 +178,8 @@ MsgExecuteContract submits the given message data to a smart contract
178
178
179
179
| Field | Type | Label | Description |
180
180
| ----- | ---- | ----- | ----------- |
181
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
182
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
181
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
182
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
183
183
| msg | [ bytes] ( #bytes ) | | Msg json encoded message to be passed to the contract |
184
184
| sent_funds | [ cosmos.base.v1beta1.Coin] ( #cosmos.base.v1beta1.Coin ) | repeated | SentFunds coins that are transferred to the contract on execution |
185
185
@@ -196,8 +196,8 @@ MsgInstantiateContract create a new smart contract instance for the given code i
196
196
197
197
| Field | Type | Label | Description |
198
198
| ----- | ---- | ----- | ----------- |
199
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
200
- | admin | [ bytes ] ( #bytes ) | | Admin is an optional address that can execute migrations |
199
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
200
+ | admin | [ string ] ( #string ) | | Admin is an optional address that can execute migrations |
201
201
| code_id | [ uint64] ( #uint64 ) | | CodeID is the reference to the stored WASM code |
202
202
| label | [ string] ( #string ) | | Label is optional metadata to be stored with a contract instance. |
203
203
| init_msg | [ bytes] ( #bytes ) | | InitMsg json encoded message to be passed to the contract on instantiation |
@@ -216,8 +216,8 @@ MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
216
216
217
217
| Field | Type | Label | Description |
218
218
| ----- | ---- | ----- | ----------- |
219
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
220
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
219
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
220
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
221
221
| code_id | [ uint64] ( #uint64 ) | | CodeID references the new WASM code |
222
222
| migrate_msg | [ bytes] ( #bytes ) | | MigrateMsg json encoded message to be passed to the contract on migration |
223
223
@@ -229,12 +229,12 @@ MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
229
229
<a name =" wasmd.x.wasmd.v1beta1.MsgStoreCode " ></a >
230
230
231
231
### MsgStoreCode
232
- MsgStoreCode submit WASM code to the system
232
+ MsgStoreCode submit Wasm code to the system
233
233
234
234
235
235
| Field | Type | Label | Description |
236
236
| ----- | ---- | ----- | ----------- |
237
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
237
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
238
238
| wasm_byte_code | [ bytes] ( #bytes ) | | WASMByteCode can be raw or gzip compressed |
239
239
| source | [ string] ( #string ) | | Source is a valid absolute HTTPS URI to the contract' ; s source code, optional |
240
240
| builder | [ string] ( #string ) | | Builder is a valid docker image name with tag, optional |
@@ -253,9 +253,9 @@ MsgUpdateAdmin sets a new admin for a smart contract
253
253
254
254
| Field | Type | Label | Description |
255
255
| ----- | ---- | ----- | ----------- |
256
- | sender | [ bytes ] ( #bytes ) | | Sender is the that actor that signed the messages |
257
- | new_admin | [ bytes ] ( #bytes ) | | NewAdmin address to be set |
258
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
256
+ | sender | [ string ] ( #string ) | | Sender is the that actor that signed the messages |
257
+ | new_admin | [ string ] ( #string ) | | NewAdmin address to be set |
258
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
259
259
260
260
261
261
@@ -288,7 +288,7 @@ ClearAdminProposal gov proposal content type to clear the admin of a contract.
288
288
| ----- | ---- | ----- | ----------- |
289
289
| title | [ string] ( #string ) | | Title is a short summary |
290
290
| description | [ string] ( #string ) | | Description is a human readable text |
291
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
291
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
292
292
293
293
294
294
@@ -305,8 +305,8 @@ InstantiateContractProposal gov proposal content type to instantiate a contract.
305
305
| ----- | ---- | ----- | ----------- |
306
306
| title | [ string] ( #string ) | | Title is a short summary |
307
307
| description | [ string] ( #string ) | | Description is a human readable text |
308
- | run_as | [ bytes ] ( #bytes ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
309
- | admin | [ bytes ] ( #bytes ) | | Admin is an optional address that can execute migrations |
308
+ | run_as | [ string ] ( #string ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
309
+ | admin | [ string ] ( #string ) | | Admin is an optional address that can execute migrations |
310
310
| code_id | [ uint64] ( #uint64 ) | | CodeID is the reference to the stored WASM code |
311
311
| label | [ string] ( #string ) | | Label is optional metadata to be stored with a constract instance. |
312
312
| init_msg | [ bytes] ( #bytes ) | | InitMsg json encoded message to be passed to the contract on instantiation |
@@ -327,8 +327,8 @@ MigrateContractProposal gov proposal content type to migrate a contract.
327
327
| ----- | ---- | ----- | ----------- |
328
328
| title | [ string] ( #string ) | | Title is a short summary |
329
329
| description | [ string] ( #string ) | | Description is a human readable text |
330
- | run_as | [ bytes ] ( #bytes ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
331
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
330
+ | run_as | [ string ] ( #string ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
331
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
332
332
| code_id | [ uint64] ( #uint64 ) | | CodeID references the new WASM code |
333
333
| migrate_msg | [ bytes] ( #bytes ) | | MigrateMsg json encoded message to be passed to the contract on migration |
334
334
@@ -347,7 +347,7 @@ StoreCodeProposal gov proposal content type to submit WASM code to the system
347
347
| ----- | ---- | ----- | ----------- |
348
348
| title | [ string] ( #string ) | | Title is a short summary |
349
349
| description | [ string] ( #string ) | | Description is a human readable text |
350
- | run_as | [ bytes ] ( #bytes ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
350
+ | run_as | [ string ] ( #string ) | | RunAs is the address that is passed to the contract' ; s environment as sender |
351
351
| wasm_byte_code | [ bytes] ( #bytes ) | | WASMByteCode can be raw or gzip compressed |
352
352
| source | [ string] ( #string ) | | Source is a valid absolute HTTPS URI to the contract' ; s source code, optional |
353
353
| builder | [ string] ( #string ) | | Builder is a valid docker image name with tag, optional |
@@ -368,8 +368,8 @@ UpdateAdminProposal gov proposal content type to set an admin for a contract.
368
368
| ----- | ---- | ----- | ----------- |
369
369
| title | [ string] ( #string ) | | Title is a short summary |
370
370
| description | [ string] ( #string ) | | Description is a human readable text |
371
- | new_admin | [ bytes ] ( #bytes ) | | NewAdmin address to be set |
372
- | contract | [ bytes ] ( #bytes ) | | Contract is the address of the smart contract |
371
+ | new_admin | [ string ] ( #string ) | | NewAdmin address to be set |
372
+ | contract | [ string ] ( #string ) | | Contract is the address of the smart contract |
373
373
374
374
375
375
@@ -401,7 +401,7 @@ CodeInfoResponse contains code meta data from CodeInfo
401
401
| Field | Type | Label | Description |
402
402
| ----- | ---- | ----- | ----------- |
403
403
| code_id | [ uint64] ( #uint64 ) | | id for legacy support |
404
- | creator | [ bytes ] ( #bytes ) | | |
404
+ | creator | [ string ] ( #string ) | | |
405
405
| data_hash | [ bytes] ( #bytes ) | | |
406
406
| source | [ string] ( #string ) | | |
407
407
| builder | [ string] ( #string ) | | |
@@ -419,7 +419,7 @@ ContractInfoWithAddress adds the address (key) to the ContractInfo representatio
419
419
420
420
| Field | Type | Label | Description |
421
421
| ----- | ---- | ----- | ----------- |
422
- | address | [ bytes ] ( #bytes ) | | |
422
+ | address | [ string ] ( #string ) | | |
423
423
| contract_info | [ ContractInfo] ( #wasmd.x.wasmd.v1beta1.ContractInfo ) | | |
424
424
425
425
@@ -435,7 +435,7 @@ QueryAllContractStateRequest is the request type for the Query/AllContractState
435
435
436
436
| Field | Type | Label | Description |
437
437
| ----- | ---- | ----- | ----------- |
438
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract |
438
+ | address | [ string ] ( #string ) | | address is the address of the contract |
439
439
440
440
441
441
@@ -511,7 +511,7 @@ QueryContractHistoryRequest is the request type for the Query/ContractHistory RP
511
511
512
512
| Field | Type | Label | Description |
513
513
| ----- | ---- | ----- | ----------- |
514
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract to query |
514
+ | address | [ string ] ( #string ) | | address is the address of the contract to query |
515
515
516
516
517
517
@@ -541,7 +541,7 @@ QueryContractInfoRequest is the request type for the Query/ContractInfo RPC meth
541
541
542
542
| Field | Type | Label | Description |
543
543
| ----- | ---- | ----- | ----------- |
544
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract to query |
544
+ | address | [ string ] ( #string ) | | address is the address of the contract to query |
545
545
546
546
547
547
@@ -556,7 +556,7 @@ QueryContractInfoResponse is the response type for the Query/ContractInfo RPC me
556
556
557
557
| Field | Type | Label | Description |
558
558
| ----- | ---- | ----- | ----------- |
559
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract |
559
+ | address | [ string ] ( #string ) | | address is the address of the contract |
560
560
| contract_info | [ ContractInfo] ( #wasmd.x.wasmd.v1beta1.ContractInfo ) | | |
561
561
562
562
@@ -602,7 +602,7 @@ QueryRawContractStateRequest is the request type for the Query/RawContractState
602
602
603
603
| Field | Type | Label | Description |
604
604
| ----- | ---- | ----- | ----------- |
605
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract |
605
+ | address | [ string ] ( #string ) | | address is the address of the contract |
606
606
| query_data | [ bytes] ( #bytes ) | | |
607
607
608
608
@@ -633,7 +633,7 @@ QuerySmartContractStateRequest is the request type for the Query/SmartContractSt
633
633
634
634
| Field | Type | Label | Description |
635
635
| ----- | ---- | ----- | ----------- |
636
- | address | [ bytes ] ( #bytes ) | | address is the address of the contract |
636
+ | address | [ string ] ( #string ) | | address is the address of the contract |
637
637
| query_data | [ bytes] ( #bytes ) | | QueryData contains the query data passed to the contract |
638
638
639
639
@@ -714,7 +714,7 @@ AccessConfig access control type.
714
714
| Field | Type | Label | Description |
715
715
| ----- | ---- | ----- | ----------- |
716
716
| permission | [ AccessType] ( #wasmd.x.wasmd.v1beta1.AccessType ) | | |
717
- | address | [ bytes ] ( #bytes ) | | |
717
+ | address | [ string ] ( #string ) | | |
718
718
719
719
720
720
@@ -745,7 +745,7 @@ CodeInfo is data for the uploaded contract WASM code
745
745
| Field | Type | Label | Description |
746
746
| ----- | ---- | ----- | ----------- |
747
747
| code_hash | [ bytes] ( #bytes ) | | CodeHash is the unique CodeID |
748
- | creator | [ bytes ] ( #bytes ) | | Creator address who initially stored the code |
748
+ | creator | [ string ] ( #string ) | | Creator address who initially stored the code |
749
749
| source | [ string] ( #string ) | | Source is a valid absolute HTTPS URI to the contract' ; s source code, optional |
750
750
| builder | [ string] ( #string ) | | Builder is a valid docker image name with tag, optional |
751
751
| instantiate_config | [ AccessConfig] ( #wasmd.x.wasmd.v1beta1.AccessConfig ) | | InstantiateConfig access control to apply on contract creation, optional |
@@ -796,9 +796,9 @@ ContractInfo stores a WASM contract instance
796
796
797
797
| Field | Type | Label | Description |
798
798
| ----- | ---- | ----- | ----------- |
799
- | code_id | [ uint64] ( #uint64 ) | | CodeID is the reference to the stored WASM code |
800
- | creator | [ bytes ] ( #bytes ) | | Creator address who initially instantiated the contract |
801
- | admin | [ bytes ] ( #bytes ) | | Admin is an optional address that can execute migrations |
799
+ | code_id | [ uint64] ( #uint64 ) | | CodeID is the reference to the stored Wasm code |
800
+ | creator | [ string ] ( #string ) | | Creator address who initially instantiated the contract |
801
+ | admin | [ string ] ( #string ) | | Admin is an optional address that can execute migrations |
802
802
| label | [ string] ( #string ) | | Label is optional metadata to be stored with a contract instance. |
803
803
| created | [ AbsoluteTxPosition] ( #wasmd.x.wasmd.v1beta1.AbsoluteTxPosition ) | | Created Tx position when the contract was instantiated. This data should kept internal and not be exposed via query results. Just use for sorting |
804
804
0 commit comments