0x2796eb8b3794c51f6557d55472558bb05a6815cb
Unverified contract
Proxy
Active on
Base with 56 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
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
0x59f6…852d
0xdd5f…76e3
0x6ba3…ffc5
0xd8c7…9351
-
variable spans 1 additional slot
0xd2f9…02c5
10 additional
variables
Balances ($7,122.69)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MAG | ERC-20 | 3.047583M | $0.002337 |
$7,122.69 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 23574539 | 5 hours ago | | | 0 | 0.0000015719488 | |
| 23574530 | 5 hours ago | | | 0 | 0.0000015719488 | |
| 23574527 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574522 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574519 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574516 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574513 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574511 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574509 | 5 hours ago | | | 0 | 0.0000013342339 | |
| 23574507 | 5 hours ago | | | 0 | 0.0000013342339 |
ABI
ABI objects
Getter at block 23584122 allIssuedBillIds() view returns (uint256[]) trueBillPrice() view returns (uint256 price_)
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
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 controlVariable, uint256 vestingTerm, uint256 minimumPrice, uint256 maxPayout, uint256 maxDebt, uint256 maxTotalPayout, uint256 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
userBillIds() view returns (uint256[])
[]
vestingCurve() view returns (address)
0xd2f90812cbab71afe45399cb36906b31172b02c5
Read-only
billInfo(uint256) view returns (uint256 payout, uint256 payoutClaimed, uint256 vesting, uint256 vestingTerm, uint256 vestingStartTimestamp, uint256 lastClaimTimestamp, uint256 truePricePaid)
claimablePayout(uint256 _billId) view returns (uint256 claimablePayout_)
feeTiers(uint256) view returns (uint256 tierCeilings, uint256 fees)
getBillIds(address user) view returns (uint256[])
getBillIdsInRange(address user, uint256 start, uint256 end) view returns (uint256[])
getBillInfo(uint256 billId) view returns (struct IApeBondBill)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
payoutFor(uint256 _amount) view returns (uint256 _payout, uint256 _fee)
pendingPayout(uint256 _billId) view returns (uint256 pendingPayout_)
pendingVesting(uint256 _billId) view returns (uint256 pendingVesting_)
redeemerApproved(address, address) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
vestedPayoutAtTime(uint256 _billId, uint256 _timestamp) view returns (uint256 vestedPayout_)
vestingPayout(uint256 _billId) view returns (uint256 vestingPayout_)
vestingPeriod(uint256 _billId) view returns (uint256 vestingStart_, uint256 vestingEnd_)
State-modifying
Events batchClaim(uint256[] _billIds) returns (uint256 payout)
batchRedeem(uint256[] _billIds) returns (uint256 payout)
changeBCVUpdateInterval(uint256 _newBCVUpdateInterval)
changeFeeTo(address _feeTo)
claim(uint256 _billId) returns (uint256)
deposit(uint256 _amount, uint256 _maxPrice, address _depositor) returns (uint256)
grantDiscountManagerRole(address _discountManager)
grantOperationsRole(address[] _bondOperations)
grantRole(bytes32 role, address account)
initialize(address _customTreasury, struct IApeBondBaseBondCreationDetails _billCreationDetails, struct IApeBondBondTerms _billTerms, struct IApeBondBaseBondAccounts _billAccounts, address[] _billOperators)
pause()
redeem(uint256 _billId) returns (uint256)
refillPayoutToken(uint256 _refillAmount)
renounceOwnership()
renounceRole(bytes32 role, address account)
revokeDiscountManagerRole(address _discountManager)
revokeOperationsRole(address[] _bondOperations)
revokeRole(bytes32 role, address account)
setBCV(uint256 _target)
setBondTerms(uint8 _parameter, uint256 _input)
setClaimApproval(address approvedAccount, bool approved)
setFeeTiers(uint256[] fees, uint256[] tierCeilings)
setMaxTotalPayout(uint256 _maxTotalPayout)
setMinPrice(uint256 _target)
transferOwnership(address newOwner)
transferStuckToken(address _token, uint256 _amount)
unpause()
BillClaimed(uint256 indexed billId, address indexed recipient, uint256 payout, uint256 remaining)
BillCreated(uint256 deposit, uint256 payout, uint256 expires, uint256 indexed billId)
BillInitialized(struct IApeBondBondTerms billTerms, uint256 lastDecay)
BillPriceChanged(uint256 internalPrice, uint256 debtRatio)
BillRefilled(address payoutToken, uint256 amountAdded)
ControlVariableAdjustment(uint256 initialBCV, uint256 newBCV)
FeeToChanged(address indexed newFeeTo)
Initialized(uint8 version)
MaxTotalPayoutChanged(uint256 newMaxTotalPayout)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetFees(uint256[] fees, uint256[] tierCeilings)
TermsSet(uint8 parameter, uint256 input)
Unpaused(address account)
UpdateClaimApproval(address indexed owner, address indexed approvedAccount, bool approved)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.