AccrualBondsV1

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7f41a770 at 14871008
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

No balances found for "AccrualBondsV1"

No transactions found for "AccrualBondsV1"


Functions
Getter at block 21161891
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
 
getAvailableSupply(view returns (uint256)
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 tokenuint256 inputview returns (uint256 output)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSpotPrice(address tokenview returns (uint256)
getUserPositionCount(address accountview returns (uint256)
getVirtualInputReserves(address tokenview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
positions(addressuint256view returns (uint256 oweduint256 redeemeduint256 creation)
quoteInfo(addressview returns (uint256 virtualInputReservesuint256 lastUpdateuint256 halfLifeuint256 levelBips)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addQuoteAsset(address tokenuint256 virtualInputReservesuint256 halfLifeuint256 levelBips
grantRole(bytes32 roleaddress account
initialize(uint256 _termuint256 _virtualOutputReservesaddress _outputTokenaddress _beneficiaryaddress _treasuryaddress _policyaddress _staking
pause(
policyUpdate(uint256 supplyDeltabool positiveDeltauint256 newVirtualOutputReservesaddress[] tokensuint256[] virtualInputReservesuint256[] halfLivesuint256[] levelBipsbool[] updateElapsed
purchaseBond(address recipientaddress tokenuint256 inputuint256 minOutputreturns (uint256 output)
purchaseBondUsingPermit(address recipientaddress tokenuint256 inputuint256 minOutputuint256 deadlineuint8 vbytes32 rbytes32 sreturns (uint256 output)
redeemBond(address recipientuint256 bondIdreturns (uint256 output)
redeemBondBatch(address recipientuint256[] bondIdsreturns (uint256 totalOutput)
removeQuoteAsset(address token
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBeneficiary(address accrualTo
setPolicyMintAllowance(uint256 mintAllowance
transferBond(address recipientuint256 bondId
unpause(
vebase(returns (bool)
Events
BeneficiarySet(address indexed calleraddress beneficiary
BondRedeemed(address indexed bonderuint256 indexed bondIduint256 output
BondSold(address indexed bonderaddress indexed tokenuint256 inputuint256 output
BondTransfered(address indexed senderaddress indexed recipientuint256 senderBondIduint256 recipientBondId
InputAssetAdded(address indexed calleraddress indexed tokenuint256 virtualInputReservesuint256 halfLifeuint256 levelBips
InputAssetRemoved(address indexed calleraddress indexed token
Paused(address account
PolicyMintAllowanceSet(address indexed calleruint256 mintAllowance
PolicyUpdate(address indexed calleruint256 supplyDeltabool indexed positiveDeltauint256 newVirtualOutputReservesaddress[] tokensuint256[] virtualInputReservesuint256[] halfLivesuint256[] levelBipsbool[] updateElapsed
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Vebase(uint256 outputTokensEmitted
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.