Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables and it is currently at block 23584119.

0x2796eb8b3794c51f6557d55472558bb05a6815cb

Unverified contract

Proxy

Active on Base with 56 txns
Deployed by via 0x16a47cf5 at 23179205
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 $7,122.69
0xec3058c7fb0f045c668a1d7d7a7f8d18454ee327891cb3e1f803d09cfecf7c84
0x7721915a97172805d36119e08c3d78a9a310b21a16a255f4a84f1bc361419acf
0x82e0af4c781d4e43e02a8cea023f63ecc9a1c7ac3692d0df9d978c1846807aec
0x4fb7ed604a8245ddde6245266a3f04c98fd255977b19674f48175f7e96433502
0xdddf05bff9e94457c7eb26b7495be1760dfaa14e92bb1ee3aaa8650acf5c11bf
0x68a79f03dc51b3679e7e77f1a96a2876cbbf1edd560cdbaf2526300830f9f4f2
0x25b5d445dfba3ab92c03b3b70b890c4ff0b6f4a7a33178d1c0688915dac76869
0xb8a0634ef928b8b6bb71b13a9f72f6ef22d03ea3ab6a78c45787b0a8c79de60d
0x072a1e63052e202363980f5070747e8c36c5ee36ad55bac8adbeb4bb37639f0e
0xaba006f7fe3f0c42e59cc38806245e0aade5b991ccc3bf7eeaa0eb71c649a26d

Functions
Getter at block 23584122
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)
0xd8c7fe06e24a2862d78d0f1bf040ba79463d9351
billPrice(view returns (uint256 price_)
317360103422143
currentDebt(view returns (uint256)
3467324532444129239910
currentFee(view returns (uint256 currentFee_)
50000
customTreasury(view returns (address)
0x6ba3a5ff675c2f553aac315fa27b49107f38ffc5
debtDecay(view returns (uint256 decay_)
17088680851626406550
debtRatio(view returns (uint256 debtRatio_)
86005448081881610585885080034523
feeInPayout(view returns (bool)
false
feeTo(view returns (address)
0x3f5bedd3baef93aa4f8aa1891967a8027b82b7f5
getFeeTierLength(view returns (uint256 tierLength_)
1
getMaxTotalPayout(view returns (uint256)
19000000000000000218103808
lastBCVUpdateTimestamp(view returns (uint256)
0
lastDecay(view returns (uint256)
1733938523
maxPayout(view returns (uint256)
1900000000000000021810380
minBCVUpdateInterval(view returns (uint256)
21600
owner(view returns (address)
0x76e010758d2ae3b81973e2047ce70168ccae2abf
paused(view returns (bool)
false
payoutToken(view returns (address)
0x59f680f431f5280e7662b96f2dfa195d1693852d
payoutTokenInitialSupply(view returns (uint256)
40315173163717000000000000
principalToken(view returns (address)
0xdd5f5484fdabe2223d66ef417a98ef82ae9c76e3
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebtuint256 maxTotalPayoutuint256 initialDebt)
(controlVariable=369, vestingTerm=3888000, minimumPrice=33806022850483, maxPayout=1900000000000000021810380, maxDebt=31402039003337554277100, maxTotalPayout=19000000000000000218103808, initialDebt=3140203900333755427710)
totalDebt(view returns (uint256)
3484413213295755646460
totalPayoutGiven(view returns (uint256)
3239934196936447377571434
totalPrincipalBilled(view returns (uint256)
964901056239030413493
 
trueBillPrice(view returns (uint256 price_)
userBillIds(view returns (uint256[])
[]
vestingCurve(view returns (address)
0xd2f90812cbab71afe45399cb36906b31172b02c5
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.