PoolStorage
The current version of PoolStorage inherits from its predecessor which in turn inherits from its predecessor going back to the original implementation, PoolStorageV1.
PoolStorageV1
token
contract IERC20 tokenCollateral token address
poolAccountant
address poolAccountantPoolAccountant address
poolRewards
address poolRewardsPoolRewards contract address
PoolStorageV2
PoolStorageV3
universalFee
uint256 universalFeeUniversal fee of this pool. Default to 2%
maxProfitAsFee
uint256 maxProfitAsFeeMaximum percentage of profit that can be counted as universal fee. Default to 50%
minDepositLimit
uint256 minDepositLimitMinimum deposit limit.
Do not set it to 0 as deposit() is checking if amount >= limit
Last updated
Was this helpful?