AccrualBondsV1
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "AccrualBondsV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AccrualBondsV1"
ABI
ABI objects
Getter at block 21161891 getAvailableSupply() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
POLICY_ROLE() view returns (bytes32)
0xfb5864e8ff833c3cb2d2d08505e82ff02a43554c74a35d4f5a64e85261278311
STAKING_ROLE() view returns (bytes32)
0xf18246d2e788c2a885ec6aeee43fc7c89077b8b7a1e52e99f27f5889e429e2f5
TREASURY_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
beneficiary() view returns (address)
0x0000000000000000000000000000000000000000
cnvEmitted() view returns (uint256)
0
outputToken() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
policyMintAllowance() view returns (uint256)
0
term() view returns (uint256)
0
totalAssets() view returns (uint256)
0
totalDebt() view returns (uint256)
0
virtualOutputReserves() view returns (uint256)
0
Read-only
getAmountOut(address token, uint256 input) view returns (uint256 output)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSpotPrice(address token) view returns (uint256)
getUserPositionCount(address account) view returns (uint256)
getVirtualInputReserves(address token) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
positions(address, uint256) view returns (uint256 owed, uint256 redeemed, uint256 creation)
quoteInfo(address) view returns (uint256 virtualInputReserves, uint256 lastUpdate, uint256 halfLife, uint256 levelBips)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addQuoteAsset(address token, uint256 virtualInputReserves, uint256 halfLife, uint256 levelBips)
grantRole(bytes32 role, address account)
initialize(uint256 _term, uint256 _virtualOutputReserves, address _outputToken, address _beneficiary, address _treasury, address _policy, address _staking)
pause()
policyUpdate(uint256 supplyDelta, bool positiveDelta, uint256 newVirtualOutputReserves, address[] tokens, uint256[] virtualInputReserves, uint256[] halfLives, uint256[] levelBips, bool[] updateElapsed)
purchaseBond(address recipient, address token, uint256 input, uint256 minOutput) returns (uint256 output)
purchaseBondUsingPermit(address recipient, address token, uint256 input, uint256 minOutput, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns (uint256 output)
redeemBond(address recipient, uint256 bondId) returns (uint256 output)
redeemBondBatch(address recipient, uint256[] bondIds) returns (uint256 totalOutput)
removeQuoteAsset(address token)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBeneficiary(address accrualTo)
setPolicyMintAllowance(uint256 mintAllowance)
transferBond(address recipient, uint256 bondId)
unpause()
vebase() returns (bool)
BeneficiarySet(address indexed caller, address beneficiary)
BondRedeemed(address indexed bonder, uint256 indexed bondId, uint256 output)
BondSold(address indexed bonder, address indexed token, uint256 input, uint256 output)
BondTransfered(address indexed sender, address indexed recipient, uint256 senderBondId, uint256 recipientBondId)
InputAssetAdded(address indexed caller, address indexed token, uint256 virtualInputReserves, uint256 halfLife, uint256 levelBips)
InputAssetRemoved(address indexed caller, address indexed token)
Paused(address account)
PolicyMintAllowanceSet(address indexed caller, uint256 mintAllowance)
PolicyUpdate(address indexed caller, uint256 supplyDelta, bool indexed positiveDelta, uint256 newVirtualOutputReserves, address[] tokens, uint256[] virtualInputReserves, uint256[] halfLives, uint256[] levelBips, bool[] updateElapsed)
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)
Unpaused(address account)
Vebase(uint256 outputTokensEmitted)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.