You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This used to be called "vote", but was changed for consistency with Cosmos SDK.
5
+
// The old name is still supported for backwards compatibility.
6
+
OptionvoteOption`json:"option"`
7
+
ProposalIDuint64`json:"proposal_id"`// in wasmvm, this is `ProposalId`
8
+
}
9
+
10
+
typeVoteWeightedMsgstruct {
11
+
Options []WeightedVoteOption`json:"options"`
12
+
ProposalIDuint64`json:"proposal_id"`// in wasmvm, this is `ProposalId`
13
+
}
14
+
15
+
typeGovMsgstruct {
16
+
// This maps directly to [MsgVote](https://github.com/cosmos/cosmos-sdk/blob/v0.42.5/proto/cosmos/gov/v1beta1/tx.proto#L46-L56) in the Cosmos SDK with voter set to the contract address.
17
+
Vote*VoteMsg`json:"vote,omitempty"`
18
+
/// This maps directly to [MsgVoteWeighted](https://github.com/cosmos/cosmos-sdk/blob/v0.45.8/proto/cosmos/gov/v1beta1/tx.proto#L66-L78) in the Cosmos SDK with voter set to the contract address.
0 commit comments