Proposals
ContractRegistrationRequest
ContractRegistrationRequest
is a base message for registering new contracts (shouldn't be used directly but as a part of proposal)
Fields description
ContractAddress
- unique Identifier for contract instance to be registered.GasLimit
- Maximum gas to be used for the smart contract execution.GasPrice
- Gas price to be used for the smart contract execution.PinContract
- should contract be pinned.AllowUpdating
- defines wether contract owner can migrate it without need to register again (if false only current code_id will be allowed to be executed)CodeId
- code_id of the contract being registered - will be verified on execution to allow last minute change (after votes were cast)AdminAddress
- optional address of admin account (that will be allowed to pause or update contract params)GranterAddress
- address of an account which granted funds for execution. Must be set ifFundMode
is other thanSelfFunded
(see below for an explanation)
FundingMode
indicates how the contract will fund its own execution.
SelfFunded
- contract will use its own funds to execute.GrantOnly
- contract wil only use funds provided by the grant.Dual
- contract will first deplete grant's funds before using its own.
ContractRegistrationRequestProposal
ContractRegistrationRequestProposal
defines an SDK message to register a single contract in wasmx contract registry.
Fields description
Title
describes the title of the proposal.Description
describes the description of the proposal.ContractRegistrationRequest
contains contract registration request (as described above)
BatchContractRegistrationRequestProposal
BatchContractRegistrationRequestProposal
defines an SDK message to register a batch of contracts in wasmx contract registry.
Fields description
Title
describes the title of the proposal.Description
describes the description of the proposal.ContractRegistrationRequests
contains a list of contracts registration requests (as described above)
BatchStoreCodeProposal
BatchStoreCodeProposal
defines an SDK message to store a batch of contracts in wasm.
Fields description
Title
describes the title of the proposal.Description
describes the description of the proposal.Proposals
contains a list of store code proposals (as defined by Cosmos wasm module)
BatchContractDeregistrationProposal
BatchContractDeregistrationProposal
defines an SDK message to deregister a batch of contracts in wasm.
Fields description
Title
describes the title of the proposal.Description
describes the description of the proposal.Contracts
contains a list of addresses of contracts to be deregistered
Last updated