owner
anchor_token
quorum
threshold
yes
votes required for a poll to passvoting_period
timelock_period
expiration_period
proposal_deposit
snapshot_period
quorum
threshold
yes
votes required for a poll to passvoting_period
timelock_period
expiration_period
proposal_deposit
snapshot_period
Receive
sender
amount
[Internal] ExecutePollMsgs
Gov
.poll_id
RegisterContracts
anchor_token
UpdateConfig
owner
*quorum
*threshold
*yes
votes required for a poll to passvoting_period
*timelock_period
*expiration_period
*proposal_deposit
*snapshot_period
*CastVote
poll_id
vote
yes
or no
amount
WithdrawVotingTokens
amount
is not specified.amount
*EndPoll
poll_id
ExecutePoll
poll_id
SnapshotPoll
snapshot_period
blocks before the poll's end_height
.poll_id
StakeVotingTokens
CreatePoll
proposal_deposit
amount. Can contain a list of generic messages to be issued by the Gov contract if it passes (can invoke messages in other contracts it owns).title
description
link
*execute_msgs
*order
contract
msg
Config
ConfigResponse
owner
anchor_token
quorum
threshold
yes
votes required for a poll to passvoting_period
timelock_period
expiration_period
proposal_deposit
snapshot_period
State
StateResponse
poll_count
total_share
total_deposit
Staker
address
StakerResponse
balance
share
locked_balance
vote
balance
yes
no
Poll
poll_id
PollResponse
id
creator
status
end_height
title
description
link
*deposit_amount
execute_data
*Vec<PollExecuteMsg>
yes_votes
no_votes
staked_amount
*total_balance_at_end_poll
*InProgress
Passed
Rejected
Executed
Expired
Failed
order
contract
msg
Polls
filter
*start_after
*limit
*order_by
*InProgress
Passed
Rejected
Executed
Expired
Failed
Asc
Desc
PollsResponse