Astral Assembly
The Assembly contract allows xASTRO and vxASTRO holders as well as Initial Astroport Builders to post and vote on new on-chain proposals that can execute arbitrary logic.
InstantiateMsg
Instantiate the contract with proposal parameter limitations and the xASTRO and builder unlock contract addresses.
ExecuteMsg
receive
Submit a new on-chain proposal.
msg
Example proposal message
cast_vote
Casts a vote for an active proposal.
end_proposal
Ends an expired proposal.
execute_proposal
Executes a proposal.
remove_completed_proposal
Removes a completed proposal from the proposal list.
update_config
Update contract parameters. Only the Assembly is allowed to update its own parameters.
QueryMsg
All query messages are described below. A custom struct is defined for each query response.
config
Returns Astral Assembly parameters.
proposals
Returns the current proposal list.
proposal
Returns information about a specific proposal.
proposal_votes
Returns information about the votes cast on a proposal.
proposal_voters
Returns list of voters of specified proposal.
user_voting_power
Returns user voting power for a specific proposal.
total_voting_power
Returns total voting power for a specific proposal.