Erc20Pool

Verified contract

Implementation

Active on Ethereum with 2 txns
Deployed by via 0xb8370d8a at 15323644
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Erc20Pool"

0xb01a83030e049c0a5599fa14dc2ed5d6b4c6d1ae59f4e738d764c6d6da57b454
0xb3cee09b21f4cc66ffd5361543a5dc39687169da9a667184fa84e476357a76ee

Functions
Getter at block 21398339
addressProvider(view returns (address)
0xa298d39715ae492e4caf3ccb33cbf57abc5238d7
controller(view returns (address)
0x64f82ba5100770c9824e8abc40a03d6920f54fbf
 
exchangeRate(view returns (uint256)
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
 
totalUnderlying(view returns (uint256)
vault(view returns (address)
0xbac78b32d54eb93f6452fdc7f04633e98f0d8c97
withdrawalFeeDecreasePeriod(view returns (uint256)
604800
Read-only
calcRedeem(address accountuint256 underlyingAmountview returns (uint256)
getNewCurrentFees(uint256 timeToWaituint256 lastActionTimestampuint256 feeRatioview returns (uint256)
getWithdrawalFee(address accountuint256 amountview returns (uint256)
withdrawalFeeMetas(addressview returns (uint64 timeToWaituint64 feeRatiouint64 lastActionTimestamp)
State-modifying
deposit(uint256 depositAmountpayable returns (uint256)
deposit(uint256 depositAmountuint256 minTokenAmountpayable returns (uint256)
depositAndStake(uint256 depositAmountuint256 minTokenAmountpayable returns (uint256)
depositFor(address accountuint256 depositAmountpayable returns (uint256)
depositFor(address accountuint256 depositAmountuint256 minTokenAmountpayable returns (uint256)
handleLpTokenTransfer(address fromaddress touint256 amount
initialize(string name_address underlying_address vault_uint256 maxWithdrawalFee_uint256 minWithdrawalFee_
pause(
rebalanceVault(
redeem(uint256 redeemLpTokensreturns (uint256)
redeem(uint256 redeemLpTokensuint256 minRedeemAmountreturns (uint256)
setLpToken(address _lpToken
setStaker(
shutdownPool(bool _shutdownStrategy
shutdownStrategy(
unpause(
unstakeAndRedeem(uint256 redeemLpTokensuint256 minRedeemAmountreturns (uint256)
updateMaxWithdrawalFee(uint256 maxWithdrawalFee_
updateMinWithdrawalFee(uint256 minWithdrawalFee_
updateRequiredReserves(uint256 requireReserves_
updateReserveDeviation(uint256 reserveDeviation_
updateVault(address vault_
updateWithdrawalFeeDecreasePeriod(uint256 withdrawalFeeDecreasePeriod_
Events
Deposit(address indexed minteruint256 depositAmountuint256 mintedLpTokens
DepositFor(address indexed minteraddress indexed minteeuint256 depositAmountuint256 mintedLpTokens
LpTokenSet(address indexed lpToken
MaxWithdrawalFeeUpdated(uint256 maxWithdrawalFee
MinWithdrawalFeeUpdated(uint256 minWithdrawalFee
Redeem(address indexed redeemeruint256 redeemAmountuint256 redeemTokens
RequiredReservesUpdated(uint256 requireReserves
ReserveDeviationUpdated(uint256 reserveDeviation
Shutdown(
StakerVaultSet(address indexed stakerVault
VaultUpdated(address vault
WithdrawalFeeDecreasePeriodUpdated(uint256 withdrawalFeeDecreasePeriod
Constructor
constructor(address _controller
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.