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
Collateral token address
poolAccountant
PoolAccountant address
poolRewards
PoolRewards contract address
PoolStorageV2
PoolStorageV3
universalFee
Universal fee of this pool. Default to 2%
maxProfitAsFee
Maximum percentage of profit that can be counted as universal fee. Default to 50%
minDepositLimit
Minimum deposit limit.
Do not set it to 0 as deposit() is checking if amount >= limit
Last updated