đ§ââī¸Admin Privileges
There are three tiers of privileged functions granted beyond what the general public can use in the TWAMM contract. The below diagram indicates the various parties and the functions that are accessible by them.
Factory Owner
The factory owner is the super admin of the protocol and is controlled by a multi-sig address.
setCollectBalancerFees
: collect the fees expected by the Balancer DAOsetCollectCronFiFees
: collect the fees expected by the protocolsetFeeSharesLP
: sets the fee rate of LPs, and protocolsetFeeAddress
: default to 0 address, CronFi fees enabled when address is setsetAdminStatus
: sets the admin address for the pool, defaults to the factory owner
Administrator
The administrator has the ability to maintain proper operations of the pool.
setArbPartnerStatus
: enables the ability for lower swap rates for specified addresses, needed by dedicated arbitrageurssetParameter
: allows admin to set different fee take rates and collect Balancer feessetPause
: pauses pool operations when a catastrophic situation arises that could cause trading to degrade
Arbitrage Partner
The dedicated arbitrage partner that can swap atomically for a lower fee tier
onSwap:PartnerSwap
: a low fee tier swap rate only available to privileged partnersupdateArbitrageurList
: advances the specified arbitrage partner (msg.sender) arbitrageur list contract to the newest contract
Last updated