PoolStorage

PoolStorageV1

token

1
contract IERC20 token
Copied!
Collateral token address

poolAccountant

1
address poolAccountant
Copied!
PoolAccountant address

poolRewards

1
address poolRewards
Copied!
PoolRewards contract address

feeWhitelistObsolete

1
address feeWhitelistObsolete
Copied!

keepersObsolete

1
address keepersObsolete
Copied!

maintainersObsolete

1
address maintainersObsolete
Copied!

feeCollectorObsolete

1
address feeCollectorObsolete
Copied!

withdrawFeeObsolete

1
uint256 withdrawFeeObsolete
Copied!

decimalConversionFactorObsolete

1
uint256 decimalConversionFactorObsolete
Copied!

PoolStorageV2

_feeWhitelistObsolete

1
struct EnumerableSet.AddressSet _feeWhitelistObsolete
Copied!

PoolStorageV3

universalFee

1
uint256 universalFee
Copied!
Universal fee of this pool. Default to 2%

maxProfitAsFee

1
uint256 maxProfitAsFee
Copied!
Maximum percentage of profit that can be counted as universal fee. Default to 50%

minDepositLimit

1
uint256 minDepositLimit
Copied!
Minimum deposit limit.
Do not set it to 0 as deposit() is checking if amount >= limit