Copy
type StoreRequest struct{// WASMByteCode can be raw or gzip compressed
WASMByteCode []byte// WASMFile can be raw or gzip file
WASMFile string// Source is a valid absolute HTTPS URI to the contract's source code, optional
Source string// Builder is a valid docker image name with tag, optional
Builder string// InstantiatePermission access control to apply on contract creation, optional
permission *AccessConfig
}
Copy
type InstantiateRequest struct{// Admin is an optional address that can execute migrations
Admin string// CodeID is the reference to the stored WASM code
CodeID string// Label is optional metadata to be stored with a contract instance.
Label string// InitMsg json encoded message to be passed to the contract on instantiation
InitMsg Args
// InitFunds coins that are transferred to the contract on instantiation
InitFunds sdk.Coins
}