0x1502c847ff2639ea81a5718c2d90cd2ca6938fa2

Unverified contract

Proxy

Active on Ethereum with 12 txns
Deployed by via 0xe8d97de6 at 21092076
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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
10 additional variables
ERC-20
Value $41,584.51
0x9e6bea332255edc5bddfce92a4015cf8e96a857e5c037a03cd8876918c993182
0xfd2c0a12e4ff86aedbd6dc6d6230c9cf3908e4c47d7e581cec9b9a3446344ef4
0x9790f6a3048074b2553f25e875fd866280ebb03f87341ec8dbcdfb0e993ea911
0x03966e03eb9f24450516257e2e620effa34a7605d90a390f46f231f9177bb56f
0x9e1db1667df858ca4914b34f2023af9d0e3fa5f8804cd89b117c95e0dd288f26
0x8cf323ea6deded2d85258100d8bf36450f3e5520147aba578754119a3b7f2478
0x18c5d952c9b71f2a3e449aa90c40b73eb413d7a4778ad5e7ecb20a1443230edd
0xe8355252f29c3a29fe9f2074c1a991665b925f0a284332c9e58d1d50247729aa
0xb839b34efffe8282556597c36202d5206fb116e432a5782442ca77daa7660d8c
0xfd95d8ce06c4a8a67a260e3153a0755855607906bb17b97d1c78a1014e77390e

Functions
Getter at block 21272934
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DISCOUNT_MANAGER_ROLE(view returns (bytes32)
0x164eb3c8934b38dc6d928ee073001889e55e5906e6d507f75a52c9f3fe10f75c
MAX_FEE(view returns (uint256)
1000000
OPERATIONS_ROLE(view returns (bytes32)
0xe3723f41c074e25ac45636a7cd631386f2e15f8583ade05d0b710b41251f5c7b
VERSION(view returns (string)
2.2.0
 
allIssuedBillIds(view returns (uint256[])
billNft(view returns (address)
0x499b654b0a7f9979cc315190c09ca2633809b8df
 
billPrice(view returns (uint256 price_)
currentDebt(view returns (uint256)
25450044774660587304
currentFee(view returns (uint256 currentFee_)
50000
customTreasury(view returns (address)
0xedf145a02763008ef760cd75143796a40120e792
debtDecay(view returns (uint256 decay_)
904430271730949051
debtRatio(view returns (uint256 debtRatio_)
50900093482240381140090963953
feeInPayout(view returns (bool)
false
feeTo(view returns (address)
0x3f5bedd3baef93aa4f8aa1891967a8027b82b7f5
getFeeTierLength(view returns (uint256 tierLength_)
1
getMaxTotalPayout(view returns (uint256)
2023499999999999971688448
lastBCVUpdateTimestamp(view returns (uint256)
1732363307
lastDecay(view returns (uint256)
1732502867
maxPayout(view returns (uint256)
202349999999999997168844
minBCVUpdateInterval(view returns (uint256)
21600
owner(view returns (address)
0x76e010758d2ae3b81973e2047ce70168ccae2abf
paused(view returns (bool)
false
payoutToken(view returns (address)
0x9f9c8ec3534c3ce16f928381372bfbfbfb9f4d24
payoutTokenInitialSupply(view returns (uint256)
499999961366287000000000000
principalToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebtuint256 maxTotalPayoutuint256 initialDebt)
(controlVariable=41960, vestingTerm=3888000, minimumPrice=2405988495164, maxPayout=202349999999999997168844, maxDebt=275649563640069708010, maxTotalPayout=2023499999999999971688448, initialDebt=27564956364006970801)
totalDebt(view returns (uint256)
26354475046391536355
totalPayoutGiven(view returns (uint256)
611377600301756907667421
totalPrincipalBilled(view returns (uint256)
14091170408685157718
 
trueBillPrice(view returns (uint256 price_)
userBillIds(view returns (uint256[])
[]
vestingCurve(view returns (address)
0xe89baa10e14bca9bb6b65a82d7cc36e55d2ea82e
Read-only
billInfo(uint256view returns (uint256 payoutuint256 payoutClaimeduint256 vestinguint256 vestingTermuint256 vestingStartTimestampuint256 lastClaimTimestampuint256 truePricePaid)
claimablePayout(uint256 _billIdview returns (uint256 claimablePayout_)
feeTiers(uint256view returns (uint256 tierCeilingsuint256 fees)
getBillIds(address userview returns (uint256[])
getBillIdsInRange(address useruint256 startuint256 endview returns (uint256[])
getBillInfo(uint256 billIdview returns (struct IApeBondBill)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
payoutFor(uint256 _amountview returns (uint256 _payoutuint256 _fee)
pendingPayout(uint256 _billIdview returns (uint256 pendingPayout_)
pendingVesting(uint256 _billIdview returns (uint256 pendingVesting_)
redeemerApproved(addressaddressview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
vestedPayoutAtTime(uint256 _billIduint256 _timestampview returns (uint256 vestedPayout_)
vestingPayout(uint256 _billIdview returns (uint256 vestingPayout_)
vestingPeriod(uint256 _billIdview returns (uint256 vestingStart_uint256 vestingEnd_)
State-modifying
batchClaim(uint256[] _billIdsreturns (uint256 payout)
batchRedeem(uint256[] _billIdsreturns (uint256 payout)
changeBCVUpdateInterval(uint256 _newBCVUpdateInterval
changeFeeTo(address _feeTo
claim(uint256 _billIdreturns (uint256)
deposit(uint256 _amountuint256 _maxPriceaddress _depositorreturns (uint256)
grantDiscountManagerRole(address _discountManager
grantOperationsRole(address[] _bondOperations
grantRole(bytes32 roleaddress account
initialize(address _customTreasurystruct IApeBondBaseBondCreationDetails _billCreationDetailsstruct IApeBondBondTerms _billTermsstruct IApeBondBaseBondAccounts _billAccountsaddress[] _billOperators
pause(
redeem(uint256 _billIdreturns (uint256)
refillPayoutToken(uint256 _refillAmount
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeDiscountManagerRole(address _discountManager
revokeOperationsRole(address[] _bondOperations
revokeRole(bytes32 roleaddress account
setBCV(uint256 _target
setBondTerms(uint8 _parameteruint256 _input
setClaimApproval(address approvedAccountbool approved
setFeeTiers(uint256[] feesuint256[] tierCeilings
setMaxTotalPayout(uint256 _maxTotalPayout
setMinPrice(uint256 _target
transferOwnership(address newOwner
transferStuckToken(address _tokenuint256 _amount
unpause(
Events
BillClaimed(uint256 indexed billIdaddress indexed recipientuint256 payoutuint256 remaining
BillCreated(uint256 deposituint256 payoutuint256 expiresuint256 indexed billId
BillInitialized(struct IApeBondBondTerms billTermsuint256 lastDecay
BillPriceChanged(uint256 internalPriceuint256 debtRatio
BillRefilled(address payoutTokenuint256 amountAdded
ControlVariableAdjustment(uint256 initialBCVuint256 newBCV
FeeToChanged(address indexed newFeeTo
Initialized(uint8 version
MaxTotalPayoutChanged(uint256 newMaxTotalPayout
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetFees(uint256[] feesuint256[] tierCeilings
TermsSet(uint8 parameteruint256 input
Unpaused(address account
UpdateClaimApproval(address indexed owneraddress indexed approvedAccountbool approved
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.