Supports submitting arbitrary proposal content.

interface AminoMsgSubmitProposal {
    type: "cosmos-sdk/MsgSubmitProposal";
    value: {
        content: {
            type: string;
            value: any;
        };
        initial_deposit: readonly Coin[];
        proposer: string;
    };
}

Hierarchy

  • AminoMsg
    • AminoMsgSubmitProposal

Properties

Properties

type: "cosmos-sdk/MsgSubmitProposal"
value: {
    content: {
        type: string;
        value: any;
    };
    initial_deposit: readonly Coin[];
    proposer: string;
}

Type declaration

  • Readonly content: {
        type: string;
        value: any;
    }

    A proposal structure, e.g.

    {
    type: 'cosmos-sdk/TextProposal',
    value: {
    description: 'This proposal proposes to test whether this proposal passes',
    title: 'Test Proposal'
    }
    }
    • Readonly type: string
    • Readonly value: any
  • Readonly initial_deposit: readonly Coin[]
  • Readonly proposer: string

    Bech32 account address

Generated using TypeDoc