Skip to content

EscrowChecker

Description

A small utility contract that augments the OKS escrow contract to allow extracting a user's schedule as an array rather than as individual entries.

Source: EscrowChecker.sol

Architecture


Inheritance Graph

EscrowChecker inheritance graph



Variables


oikos_escrow

The OKS escrow contract.

Type: OikosEscrow public


Functions


constructor

Initialises the oikos escrow address.

Details

Signature

constructor(OikosEscrow _esc) public


checkAccountSchedule

Returns the given address's vesting schedule as up to 16 uints, composed of an alternating sequence of up to 8 (timestamp, quantity) pairs, as per OikosEscrow.getVestingScheduleEntry.

Vested entries are not skipped, and appear as a leading sequence of zeroes.

Details

Signature

checkAccountSchedule(address account) public view returns (uint[16])