💰Fee Collector
Last updated
Last updated
The Fee Collector is a contract that collects the fees accrued by the protocol. Whenever a pool or a farm is created, as well as swaps, a fee is sent to the Fee Collector. As of now, the Fee Collector does not have any other function.
Instantiates an instance of the fee collector contract
Implements cw_ownable
. Updates the contract's ownership. ::cw_ownable::Action
can be TransferOwnership
, AcceptOwnership
and RenounceOwnership
.
Note: This is a cw_ownable
message.
Propose to transfer the contract's ownership to another account, optionally with an expiry time. Can only be called by the contract's current owner. Any existing pending ownership transfer is overwritten.
Key | Type | Description |
---|---|---|
Returns the ownership of the contract.
Note: This is a cw_ownable
query.
Message to migrate the contract to a new code ID.
Key | Type | Description |
---|---|---|
owner
Option
The contract's current owner. None if the ownership has been renounced.
pending_owner
Option
The account who has been proposed to take over the ownership. None if there isn't a pending ownership transfer.
pending_expiry
Option
The deadline for the pending owner to accept the ownership. None if there isn't a pending ownership transfer, or if a transfer exists and it doesn't have a deadline.
new_owner
String
The new owner proposed,
expiry
Option<Expiration>
Optional expiration time parameter.