Tinyman Docs
Search…
⌃K

Methods

Set Fee Collector

This method is callable by the fee_manager. It updates the global state value of fee_collector to a new address.

Set Fee Setter

This method is callable by the fee_manager. It updates the global state value of fee_setter to a new address.

Set Fee

This method is callable by the fee_setter. It updates the pool local state values of total_fee_share and protocol_fee_ratio to new values. The protocol enforces limits on the allowable values for each of these. This allows the swap fees of each pool to vary over time without moving or fragmenting liquidity. It is intended that these changes will be made based on sound market analysis for the benefit of the poolers and protocol.

Set Fee Manager

This method is callable by the fee_manager. It updates the global state value of fee_manager to a new address.