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: contracts/EscrowChecker.sol

Architecture

Variables

synthetix_escrow

Source

The SNX escrow contract.

Type: contract ISynthetixEscrow

Constructor

constructor

Source

Initialises the synthetix escrow address.

Details

Signature

constructor(contract ISynthetixEscrow _esc)

Visibility

public

State Mutability

``

Views

checkAccountSchedule

Source

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) view returns (uint256[16])

Visibility

public

State Mutability

view