Skip to content

RewardEscrowV2

Description

Source: contracts/RewardEscrowV2.sol

Variables

migrateEntriesThresholdAmount

Source

Type: uint256

totalBalancePendingMigration

Source

Type: mapping(address => uint256)

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _resolver)

Visibility

public

State Mutability

undefined

Restricted Functions

burnForMigration

Source

Details

Signature

burnForMigration(address account, uint256[] entryIDs) returns (uint256 escrowedAccountBalance, struct VestingEntries.VestingEntry[] vestingEntries)

Visibility

external

State Mutability

undefined

Requires

Modifiers

Emits

importVestingSchedule

Source

Details

Signature

importVestingSchedule(address[] accounts, uint256[] escrowAmounts)

Visibility

external

State Mutability

undefined

Requires

Modifiers

migrateAccountEscrowBalances

Source

Details

Signature

migrateAccountEscrowBalances(address[] accounts, uint256[] escrowBalances, uint256[] vestedBalances)

Visibility

external

State Mutability

undefined

Requires

Modifiers

setMigrateEntriesThresholdAmount

Source

Details

Signature

setMigrateEntriesThresholdAmount(uint256 amount)

Visibility

external

State Mutability

undefined

Modifiers

Emits

Internal Functions

_importVestingEntry

Source

Details

Signature

_importVestingEntry(address account, struct VestingEntries.VestingEntry entry)

Visibility

internal

State Mutability

undefined

Emits

oldRewardEscrow

Source

Details

Signature

oldRewardEscrow() view returns (contract IRewardEscrow)

Visibility

internal

State Mutability

undefined

synthetixBridgeToOptimism

Source

Details

Signature

synthetixBridgeToOptimism() view returns (address)

Visibility

internal

State Mutability

undefined

systemStatus

Source

Details

Signature

systemStatus() view returns (contract ISystemStatus)

Visibility

internal

State Mutability

undefined

External Functions

migrateVestingSchedule

Source

Details

Signature

migrateVestingSchedule(address addressToMigrate)

Visibility

external

State Mutability

undefined

Requires

Modifiers

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() view returns (bytes32[] addresses)

Visibility

public

State Mutability

undefined

Modifiers

onlySynthetixBridge

Source

systemActive

Source

Events

BurnedForMigrationToL2

Source

Signature: BurnedForMigrationToL2(address account, uint256[] entryIDs, uint256 escrowedAmountMigrated, uint256 time)

ImportedVestingEntry

Source

Signature: ImportedVestingEntry(address account, uint256 entryID, uint256 escrowAmount, uint256 endTime)

ImportedVestingSchedule

Source

Signature: ImportedVestingSchedule(address account, uint256 time, uint256 escrowAmount)

MigrateEntriesThresholdAmountUpdated

Source

Signature: MigrateEntriesThresholdAmountUpdated(uint256 newAmount)

MigratedAccountEscrow

Source

Signature: MigratedAccountEscrow(address account, uint256 escrowedAmount, uint256 vestedAmount, uint256 time)