package
2.0.0-rc1
Repository: https://github.com/mars-protocol/hub.git
Documentation: pkg.go.dev

# Functions

UnmarshalProposalMetadata unmarshals a string into ProposalMetadata.
UnmarshalVoteMetadata unmarshals a string into VoteMetdata.

# Variables

NOTE: The latest version (v0.47.0) of the vanilla gov module already uses error codes 2-16, so we start from 17.
NOTE: The latest version (v0.47.0) of the vanilla gov module already uses error codes 2-16, so we start from 17.

# Structs

CreatePosition corresponding to the Rust enum variant `mars_vesting::msg::ExecuteMsg::CreatePosition`.
ExecuteMsg corresponding to the Rust enum `mars_vesting::msg::ExecuteMsg` NOTE: For covenience, we don't include other enum variants, as they are not needed here.
InstantiateMsg corresponding to the Rust type `mars_vesting::msg::InstantiateMsg`.
ProposalMetadata defines the required schema for proposal metadata.
QueryMsg corresponding to the Rust enum `mars_vesting::msg::QueryMsg` NOTE: For covenience, we don't include other enum variants, as they are not needed here.
Schedule corresponding to the Rust type `mars_vesting::msg::Schedule`.
VoteMetadata defines the required schema for vote metadata.
VotingPowerQuery corresponding to the Rust enum variant `mars_vesting::msg::QueryMsg::VotingPower`.
VotingPowerResponseItem corresponding to the `voting_powers` query's respons type's repeating element.
VotingPowersQuery corresponding to the Rust enum variant `mars_vesting::msg::QueryMsg::VotingPowers`.
Withdraw corresponding to the Rust enum variant `mars_vesting::msg::ExecuteMsg::Withdraw`.

# Type aliases

VotingPowerResponse corresponding to the response type of the `voting_powers` query.