bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class Proposal

    Proposal defines the core field members of a governance proposal.

    from message cosmos.gov.v1.Proposal

    Hierarchy

    Index

    Constructors

    Properties

    depositEndTime?: Timestamp

    deposit_end_time is the end time for deposition.

    from field: google.protobuf.Timestamp deposit_end_time = 6;

    finalTallyResult?: cosmos.gov.v1.TallyResult

    final_tally_result is the final tally result of the proposal. When querying a proposal via gRPC, this field is not populated until the proposal's voting period has ended.

    from field: cosmos.gov.v1.TallyResult final_tally_result = 4;

    id: bigint = protoInt64.zero

    id defines the unique id of the proposal.

    from field: uint64 id = 1;

    messages: Any[] = []

    messages are the arbitrary messages to be executed if the proposal passes.

    from field: repeated google.protobuf.Any messages = 2;

    metadata: string = ""

    metadata is any arbitrary metadata attached to the proposal.

    from field: string metadata = 10;

    proposer: string = ""

    Proposer is the address of the proposal sumbitter

    Since: cosmos-sdk 0.47

    from field: string proposer = 13;

    status: cosmos.gov.v1.ProposalStatus = ProposalStatus.UNSPECIFIED

    status defines the proposal status.

    from field: cosmos.gov.v1.ProposalStatus status = 3;

    submitTime?: Timestamp

    submit_time is the time of proposal submission.

    from field: google.protobuf.Timestamp submit_time = 5;

    summary: string = ""

    summary is a short summary of the proposal

    Since: cosmos-sdk 0.47

    from field: string summary = 12;

    title: string = ""

    title is the title of the proposal

    Since: cosmos-sdk 0.47

    from field: string title = 11;

    totalDeposit: Coin[] = []

    total_deposit is the total deposit on the proposal.

    from field: repeated cosmos.base.v1beta1.Coin total_deposit = 7;

    votingEndTime?: Timestamp

    voting_end_time is the end time of voting on a proposal.

    from field: google.protobuf.Timestamp voting_end_time = 9;

    votingStartTime?: Timestamp

    voting_start_time is the starting time to vote on a proposal.

    from field: google.protobuf.Timestamp voting_start_time = 8;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "cosmos.gov.v1.Proposal"

    Methods