ExecuteContractProposal gov proposal content type to call execute on a contract.

interface ExecuteContractProposal {
    $typeUrl?: "/cosmwasm.wasm.v1.ExecuteContractProposal";
    contract: string;
    description: string;
    funds: Coin[];
    msg: Uint8Array;
    runAs: string;
    title: string;
}

Properties

$typeUrl?: "/cosmwasm.wasm.v1.ExecuteContractProposal"
contract: string

Contract is the address of the smart contract

description: string

Description is a human readable text

funds: Coin[]

Funds coins that are transferred to the contract on instantiation

msg: Uint8Array

Msg json encoded message to be passed to the contract as execute

runAs: string

RunAs is the address that is passed to the contract's environment as sender

title: string

Title is a short summary