APY Pool Token

Verified contract

Proxy

Active on Ethereum with 4,644 txns
Deployed by via 0x7bdcc86e at 10968425
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 $152,891.04
ERC-20
--
ERC-20
--
ERC-20
--
0xa14680e5b8fdcfd84975537bf39a37753d8ea5cad54a0fbb33c77b1534933ba6
0x0634975b2e9008524f1ae42c20d654f7033b6c086c5fb1ef3a822e93406376dc
0xe1b08443ad1ae4f0b715548ff95338a3efabcf82818070895450de2f0a05a29d
0x61973dc9e8361d16f84f312cdf5b73b747d3ae3f7ea1f05a7ff92e393f4c3fc9
0xd86996e509d90754311776932090807e56af61a441c2b15c9e5165c9cfe9e86c
0xe13c5072a1dddebee4e3d3cd8a8d6bf922693a9418258447b288bd702e138a65
0x4658c0f1d46459f681538893a99b4bfbdc6444c47803b448d3361aac3b441521
0xc8a37a6ed8783ce59b1190c960e824e6394eca7f1bc2ea102fc3726b7869964e
0x82a452fa89a8fb765274e225cae29d1e5d6f896a802de73f3e3a3bb6f60ba13e
0x65bd76edbf6a310abd763db165b20bc8a5822dcb5dc450716db5d5de8039ecd7

Functions
Getter at block 21272202
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)
442343592926322228943980
underlyer(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
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.