APY Pool Token

Verified contract

Proxy

Active on Ethereum with 7,537 txns
Deployed by via 0xff119070 at 10968537
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 43 additional slots
6 additional variables
ERC-20
Value $203,520
ERC-20
--
ERC-20
--
0x37d3d3ff9d286688722e3efc884d80f92e402c1d8f13a379c4b12c86d899d2b3
0x40116eca1474d7b7241c8dd44266062ad65394788d2f72917f249e0946cbe9e3
0xdecbdd6f10d2730ac8a6cd9967bcb085cdd5fab8e93ece1fb67be2361fc6c5d3
0xcf2eec28c7e49edeb4d8777f492c1e434a63a7d6abd29875461baec82b713bd9
0x85df4494911b1a893a506e8cd402a0907b5a93b8b911bf7ce332130c74fcef64
0xc2881cdf1402f98703c6bae51e0c6754a029bc7f4aa244fccd74d2b2a450bbaf
0xfb09f5eeb54c1825928608c4c0134cf440e1d948f38688878d106429bcb9c6b1
0x499c9152f12837c81e735de0dcd3588e66aac2fb57c6e1cbe5e35de54c8264f1
0xd1f2c451c9b956f2fac1a82091d5486389e2dc78171476881727a5bddd09992e
0x38fd35946c84fb190fb323e8e4a6d21aeb725def2d12b7f90bf797a515cc7796

Functions
Getter at block 21167495
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
CONTRACT_ROLE(view returns (bytes32)
0x364d3d7565c7a8300c96fd53e065d19b65848d7b23b3191adcd55621c744223c
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFAULT_APT_TO_UNDERLYER_FACTOR(view returns (uint256)
1000
EMERGENCY_ROLE(view returns (bytes32)
0xbf233dd2aafeb4d50879c4aa5c81e96d92f6e6945c906a58f9f2d1c1631b4b26
LP_ROLE(view returns (bytes32)
0xb0296ea8dd3227371927b1c1cea2b12ea394743ddf2f32f58024ce26f83a24a6
addLiquidityLock(view returns (bool)
false
addressRegistry(view returns (address)
0x7ec81b7035e91f8435bdeb2787dcbd51116ad303
arbitrageFee(view returns (uint256)
5
arbitrageFeePeriod(view returns (uint256)
86400
decimals(view returns (uint8)
18
 
getPoolTotalValue(view returns (uint256)
 
getReserveTopUpValue(view returns (int256)
 
getUnderlyerPrice(view returns (uint256)
isEarlyRedeem(view returns (bool)
false
name(view returns (string)
APY Pool Token
paused(view returns (bool)
false
proxyAdmin(view returns (address adm)
0x7965283631253dfcb71db63a60c656dedf76234f
redeemLock(view returns (bool)
false
reservePercentage(view returns (uint256)
10000000
symbol(view returns (string)
APT
totalSupply(view returns (uint256)
589035245838825119599306
underlyer(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
withdrawFee(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calculateMintAmount(uint256 depositAmountview returns (uint256)
getAPTValue(uint256 aptAmountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUnderlyerAmount(uint256 aptAmountview returns (uint256)
getUnderlyerAmountWithFee(uint256 aptAmountview returns (uint256)
getValueFromUnderlyerAmount(uint256 underlyerAmountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lastDepositTime(addressview returns (uint256)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addLiquidity(uint256 depositAmount
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
emergencyExit(address token
emergencyLock(
emergencyLockAddLiquidity(
emergencyLockRedeem(
emergencySetAddressRegistry(address addressRegistry_
emergencyUnlock(
emergencyUnlockAddLiquidity(
emergencyUnlockRedeem(
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address adminAddressaddress underlyer_address priceAgg
initializeUpgrade(address addressRegistry_
initializeV3(
redeem(uint256 aptAmount
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setArbitrageFee(uint256 feePercentageuint256 feePeriod
setReservePercentage(uint256 reservePercentage_
setWithdrawFee(uint256 withdrawFee_
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferToLpAccount(uint256 amount
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AddLiquidityLocked(
AddLiquidityUnlocked(
AddressRegistryChanged(address arg0
Approval(address indexed owneraddress indexed spenderuint256 value
ArbitrageFeeChanged(uint256 arbitrageFee
ArbitrageFeePeriodChanged(uint256 arbitrageFeePeriod
DepositedAPT(address indexed senderaddress tokenuint256 tokenAmountuint256 aptMintAmountuint256 tokenEthValueuint256 totalEthValueLocked
EmergencyExit(address emergencySafeaddress tokenuint256 balance
Paused(address account
RedeemLocked(
RedeemUnlocked(
RedeemedAPT(address indexed senderaddress tokenuint256 redeemedTokenAmountuint256 aptRedeemAmountuint256 tokenEthValueuint256 totalEthValueLocked
ReservePercentageChanged(uint256 reservePercentage
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
WithdrawFeeChanged(uint256 withdrawFee
Constructor
constructor(address _logicaddress _proxyAdminaddress _underlyeraddress _priceAgg
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.