OCT_ZVL.sol

OCT -> On-Chain Treasury

Introduction

This contract escrows ZVE and enables ZVL to claim directly.

State Variables

TypeNameDescription

address

GBL

The ZivoeGlobals contract.

Sections

Read Functions

Write Functions

Events

Read Functions

canPush()

Permission for owner to call pushToLocker(). See ZivoeLocker.sol

 function canPush() public override pure returns (bool) { return true; }

canPushMulti()

Permission for owner to call pushToLockerMulti(). See ZivoeLocker.sol

 function canPushMulti() public override pure returns (bool) { return true; }

canPull()

Permission for owner to call pullFromLocker(). See ZivoeLocker.sol

function canPull() public override pure returns (bool) { return true; }

canPullMulti()

Permission for owner to call pullFromLockerMulti(). See ZivoeLocker.sol

 function canPullMulti() public override pure returns (bool) { return true; }

canPullPartial()

Permission for owner to call pullFromLockerPartial(). See ZivoeLocker.sol

function canPullPartial() public override pure returns (bool) { return true; }

canPullPartialMulti()

Permission for owner to call pullFromLockerMultiPartial(). See ZivoeLocker.sol

 function canPullPartialMulti() public override pure returns (bool) { return true; }

Write Functions

claim()

Claims $ZVE.

function claim() external nonReentrant;

Emits the Claimed() event

Events

Claimed()

Emitted during claim()

event Claimed(address indexed asset, uint256 amount);
TypeIndexedNameDescription

address

True

asset

The "asset" being claimed.

uint256

False

amount

The amount being claimed.

Last updated

Zivoe Finance - Official Documentation