Astroport Maker
The Maker contract collects part of Astroport's pair fees (according to the factory's maker_fee
). The accrued fees are swapped to ASTRO and then send to stakers and governance (according to the governance_percent
).
InstantiateMsg
Initializes the contract with required addresses and the governance_percent
.
ExecuteMsg
collect
Swaps accrued fee tokens to ASTRO.
update_config
Updates the contract's general settings. All fields are optional.
propose_new_owner
Creates a proposal to change contract ownership. The proposal validity period is set in the expires_in
variable.
drop_ownership_proposal
Removes the existing proposal to change contract ownership.
claim_ownership
Used to claim contract ownership, thus changing the contract's owner.
QueryMsg
All query messages are described below. A custom struct is defined for each query response.
config
Returns information about the Maker's configuration.
balances
Returns token balances for each specified asset held by the Maker.