💰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.
new_owner
String
The new owner proposed,
expiry
Option<Expiration>
Optional expiration time parameter.
Returns the ownership of the contract.
Note: This is a cw_ownable
query.
Message to migrate the contract to a new code ID.