Skip to content

EscrowChecker

Description

A small utility contract that augments the SNX 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


synthetix_escrow

The SNX escrow contract.

Type: SynthetixEscrow public


Functions


constructor

Initialises the synthetix escrow address.

Details

Signature

constructor(SynthetixEscrow _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 SynthetixEscrow.getVestingScheduleEntry.

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

Details

Signature

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