Skip to main content

ExecuteMsg

The ExecuteMsg is the message that is used to interact with the cw-glob contract. All execute messages are only callable by the owner of the contract.

AddGlob

AddGlobDescriptionType
globsarray of storage keys and the wasm binary associated with the storage keyArray of Glob

Glob

GlobDescriptionType
keyarray of storage keys and the wasm binary associated with the storage keyString
blobWasm blob binaryBinary

HashGlob

This message is used to generate the sha256sum of a wasm blob stored inside the contract state. It is only callable by the owner.

HashGlobDescriptionType
keysarray of storage keys associated to blob stored internallyArray of String

TakeGlob

This will retrieve a stored wasm blob. It is only callable by one of the owners.

TakeGlobDescriptionType
senderAddress to include in the CosmosMsg with the wasm blob. For cw-headstash, this will be the ica account on the host chain.String
keyThe wasm blob key to upload.String
memoOptional memo to pass in ica-accountOptional String
timeoutOptional timeout in seconds to include with the ibc packet.Optional u64