Constants ​
LIQUIDITY ​
solidity
contract IFluidLiquidity LIQUIDITY
Fluid liquidity address
TEAM_MULTISIG ​
solidity
address TEAM_MULTISIG
Team multisig allowed to trigger collecting revenue
RESERVE_CONTRACT ​
solidity
contract IFluidReserveContract RESERVE_CONTRACT
Fluid reserve contract, allowed rebalancers there are allowed to trigger collecting revenue
Events ​
LogCollectRevenue ​
solidity
event LogCollectRevenue(address[])
emitted when revenue is collected
FluidCollectRevenueAuth ​
Collects the revenue from the Fluid Liquidity layer to the configured revenue collector
onlyRebalancerOrMultisig ​
solidity
modifier onlyRebalancerOrMultisig()
Validates that an address is a rebalancer (taken from reserve contract) or team multisig
constructor ​
solidity
constructor(address liquidity_, address reserveContract_) public
collectRevenue ​
solidity
function collectRevenue(address[] tokens_) external
calls the collectRevenue method in the liquidity layer for tokens_