OCT_ZVL.sol
OCT -> On-Chain Treasury
Introduction
This contract escrows ZVE and enables ZVL to claim directly.
State Variables
Type | Name | Description |
---|---|---|
address | GBL | The ZivoeGlobals contract. |
Sections
canPush() - Permission for owner to call
pushToLocker()
. See ZivoeLocker.solcanPushMulti() - Permission for owner to call
pushToLockerMulti()
. See ZivoeLocker.solcanPull() - Permission for owner to call
pullFromLocker()
. See ZivoeLocker.solcanPullMulti() - Permission for owner to call
pullFromLockerMulti()
. See ZivoeLocker.solcanPullPartial() - Permission for owner to call
pullFromLockerPartial()
. See ZivoeLocker.solcanPullPartialMulti() - Permission for owner to call
pullFromLockerMultiPartial()
. See ZivoeLocker.sol
claim() - Claims $ZVE.
Read Functions
canPush()
canPush()
Permission for owner to call pushToLocker()
. See ZivoeLocker.sol
canPushMulti()
canPushMulti()
Permission for owner to call pushToLockerMulti()
. See ZivoeLocker.sol
canPull()
canPull()
Permission for owner to call pullFromLocker()
. See ZivoeLocker.sol
canPullMulti()
canPullMulti()
Permission for owner to call pullFromLockerMulti()
. See ZivoeLocker.sol
canPullPartial()
canPullPartial()
Permission for owner to call pullFromLockerPartial()
. See ZivoeLocker.sol
canPullPartialMulti()
canPullPartialMulti()
Permission for owner to call pullFromLockerMultiPartial()
. See ZivoeLocker.sol
Write Functions
claim()
claim()
Claims $ZVE.
Emits the Claimed() event
Events
Claimed()
Claimed()
Emitted during claim()
Type | Indexed | Name | Description |
---|---|---|---|
address | True | asset | The "asset" being claimed. |
uint256 | False | amount | The amount being claimed. |
Last updated