TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 601 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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 ($15,142.55)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CNV | ERC-20 | 2.329623K | $6.50 |
$15,142.55 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19479426 | 8 months ago | | | 0 | 0.0022376450 | |
| 19476044 | 8 months ago | | | 0 | 0.0070255039 | |
| 19437532 | 8 months ago | | | 0 | 0.0017108586 | |
| 19433389 | 8 months ago | | | 0 | 0.0079884605 | |
| 19430464 | 8 months ago | | | 0 | 0.0069179589 | |
| 19430436 | 8 months ago | | | 0 | 0.0079285844 | |
| 19428877 | 8 months ago | | | 0 | 0.0078977280 | |
| 19423186 | 8 months ago | | | 0 | 0.0063086528 | |
| 19422501 | 8 months ago | | | 0 | 0.0063756910 | |
| 19418806 | 8 months ago | | | 0 | 0.0066587198 |
ABI
ABI objects
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)
0x8f639597f658691c2f500156486631a1b163d238
cnvEmitted() view returns (uint256)
8587735089160762003706
getAvailableSupply() view returns (uint256)
2083120664853892646108
outputToken() view returns (address)
0x000000007a58f5f58e697e51ab0357bc9e260a04
paused() view returns (bool)
false
policyMintAllowance() view returns (uint256)
26000000000000000000000
term() view returns (uint256)
432000
totalAssets() view returns (uint256)
1
totalDebt() view returns (uint256)
246501950004065352203
virtualOutputReserves() view returns (uint256)
1
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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.