💰Fee Collector

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.

Instantiate

Instantiates an instance of the fee collector contract

{}

ExecuteMsg

UpdateOwnership(::cw_ownable::Action)

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.

    {
  "update_ownership": {
    "transfer_ownership": {
      "new_owner": "mantra1...",
      "expiry": {
        "at_height": "424242424242"
      }
    }
  }
}

QueryMsg

Ownership

Returns the ownership of the contract.

Note: This is a cw_ownable query.

{
  "ownership": {}
}

MigrateMsg

Message to migrate the contract to a new code ID.

{}

Last updated