APY Pool Token

Verified contract

Proxy

Active on Ethereum with 5,841 txns
Deployed by via 0xc04535cb at 10968553
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 $66,502.93
ERC-20
Value $1
ERC-20
--
ERC-20
--
ERC-20
--
0xf72ac14e46522dc5ef4d25b5deed9e22d138ef364afb610c9cc5aa0264e9b97d
0xf6e723917a83c3731c89201d2cac5cf84ec3df9b46baf3022cd669c85a069462
0x08f3cebeb6badd6420a81e012746beb00d5ff34b4618c51ef4b8999ef50d7040
0xb5e51b1f9cef1b037581d15f92d8c364c83908d3311d99e056cf1717fad5bb37
0x3b85869f0b5f220c2cf7984d2bfb776ceb5f9a15f7e24d29e5511d561de92dcd
0x3e30e8cea8781d3236b527b5ed7fa88b84de329af05130c51b65e06af7e9a90e
0xc31c7b70957a3241bbcaecf3a411e5862f7b6db9e8e30d23dae89cd3abb1bdef
0x92cc7dbceb574fed6a1feb084d162a4e947667bc52c683c4664d6696306c3dbb
0x659df6aecfd39ed2878ed2e32d9ede467f958605c1132cd70cc04f19d364475c
0x603e480f87d436811b06e3a6046deb3fd37cdbbb39165bee9667fb1f6e63a806

Functions
Getter at block 21226397
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)
190071752863134200176945
underlyer(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
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.