Erc20Pool
Verified contract
Implementation
Active on
Ethereum with 2 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Erc20Pool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15323646 | 2 years ago | | | 0 | 0.00061258387 | |
| 15323645 | 2 years ago | | | 0 | 0.0014209095 |
ABI
ABI objects
Getter at block 21398339 exchangeRate() view returns (uint256) totalUnderlying() view returns (uint256)
addressProvider() view returns (address)
0xa298d39715ae492e4caf3ccb33cbf57abc5238d7
controller() view returns (address)
0x64f82ba5100770c9824e8abc40a03d6920f54fbf
getLpToken() view returns (address)
0x0000000000000000000000000000000000000000
getUnderlying() view returns (address)
0xbac78b32d54eb93f6452fdc7f04633e98f0d8c97
isPaused() view returns (bool)
true
isShutdown() view returns (bool)
false
lpToken() view returns (address)
0x0000000000000000000000000000000000000000
maxWithdrawalFee() view returns (uint256)
0
minWithdrawalFee() view returns (uint256)
0
name() view returns (string)
cloneable-erc20
requiredReserves() view returns (uint256)
1000000000000000000
reserveDeviation() view returns (uint256)
5000000000000000
roleManager() view returns (address)
0x46dcde86b25a3f3b61eadd6b7225f4e2721c0e23
staker() view returns (address)
0x0000000000000000000000000000000000000000
vault() view returns (address)
0xbac78b32d54eb93f6452fdc7f04633e98f0d8c97
withdrawalFeeDecreasePeriod() view returns (uint256)
604800
Read-only
calcRedeem(address account, uint256 underlyingAmount) view returns (uint256)
getNewCurrentFees(uint256 timeToWait, uint256 lastActionTimestamp, uint256 feeRatio) view returns (uint256)
getWithdrawalFee(address account, uint256 amount) view returns (uint256)
withdrawalFeeMetas(address) view returns (uint64 timeToWait, uint64 feeRatio, uint64 lastActionTimestamp)
State-modifying
Events deposit(uint256 depositAmount) payable returns (uint256)
deposit(uint256 depositAmount, uint256 minTokenAmount) payable returns (uint256)
depositAndStake(uint256 depositAmount, uint256 minTokenAmount) payable returns (uint256)
depositFor(address account, uint256 depositAmount) payable returns (uint256)
depositFor(address account, uint256 depositAmount, uint256 minTokenAmount) payable returns (uint256)
handleLpTokenTransfer(address from, address to, uint256 amount)
initialize(string name_, address underlying_, address vault_, uint256 maxWithdrawalFee_, uint256 minWithdrawalFee_)
pause()
rebalanceVault()
redeem(uint256 redeemLpTokens) returns (uint256)
redeem(uint256 redeemLpTokens, uint256 minRedeemAmount) returns (uint256)
setLpToken(address _lpToken)
setStaker()
shutdownPool(bool _shutdownStrategy)
shutdownStrategy()
unpause()
unstakeAndRedeem(uint256 redeemLpTokens, uint256 minRedeemAmount) returns (uint256)
updateMaxWithdrawalFee(uint256 maxWithdrawalFee_)
updateMinWithdrawalFee(uint256 minWithdrawalFee_)
updateRequiredReserves(uint256 requireReserves_)
updateReserveDeviation(uint256 reserveDeviation_)
updateVault(address vault_)
updateWithdrawalFeeDecreasePeriod(uint256 withdrawalFeeDecreasePeriod_)
Deposit(address indexed minter, uint256 depositAmount, uint256 mintedLpTokens)
DepositFor(address indexed minter, address indexed mintee, uint256 depositAmount, uint256 mintedLpTokens)
LpTokenSet(address indexed lpToken)
MaxWithdrawalFeeUpdated(uint256 maxWithdrawalFee)
MinWithdrawalFeeUpdated(uint256 minWithdrawalFee)
Redeem(address indexed redeemer, uint256 redeemAmount, uint256 redeemTokens)
RequiredReservesUpdated(uint256 requireReserves)
ReserveDeviationUpdated(uint256 reserveDeviation)
Shutdown()
StakerVaultSet(address indexed stakerVault)
VaultUpdated(address vault)
WithdrawalFeeDecreasePeriodUpdated(uint256 withdrawalFeeDecreasePeriod)
constructor(address _controller)
This contract contains no fallback and receive objects.
This contract contains no error objects.