Skip to content

SynthetixBridgeToOptimism

Description

Source: contracts/SynthetixBridgeToOptimism.sol

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _resolver)

Visibility

public

State Mutability

``

Views

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() view returns (bytes32[] addresses)

Visibility

public

State Mutability

view

Internal Functions

_depositReward

Source

Details

Signature

_depositReward(address _from, uint256 _amount)

Visibility

internal

State Mutability

``

Emits

hasZeroDebt

Source

Details

Signature

hasZeroDebt() view

Visibility

internal

State Mutability

view

Requires

issuer

Source

Details

Signature

issuer() view returns (contract IIssuer)

Visibility

internal

State Mutability

view

rewardsDistribution

Source

Details

Signature

rewardsDistribution() view returns (address)

Visibility

internal

State Mutability

view

synthetixBridgeEscrow

Source

Details

Signature

synthetixBridgeEscrow() view returns (address)

Visibility

internal

State Mutability

view

synthetixBridgeToBase

Source

Details

Signature

synthetixBridgeToBase() view returns (address)

Visibility

internal

State Mutability

view

synthetixERC20

Source

Details

Signature

synthetixERC20() view returns (contract IERC20)

Visibility

internal

State Mutability

view

External Functions

deposit

Source

Details

Signature

deposit(uint256 amount)

Visibility

external

State Mutability

``

Modifiers

depositAndMigrateEscrow

Source

Details

Signature

depositAndMigrateEscrow(uint256 depositAmount, uint256[][] entryIDs)

Visibility

public

State Mutability

``

Modifiers

depositReward

Source

Details

Signature

depositReward(uint256 amount)

Visibility

external

State Mutability

``

Modifiers

depositTo

Source

Details

Signature

depositTo(address to, uint256 amount)

Visibility

external

State Mutability

``

Modifiers

finalizeWithdrawal

Source

Details

Signature

finalizeWithdrawal(address to, uint256 amount)

Visibility

external

State Mutability

``

Requires

Emits

forwardTokensToEscrow

Source

Details

Signature

forwardTokensToEscrow(address token)

Visibility

external

State Mutability

``

migrateEscrow

Source

Details

Signature

migrateEscrow(uint256[][] entryIDs)

Visibility

public

State Mutability

``

Modifiers

notifyRewardAmount

Source

Details

Signature

notifyRewardAmount(uint256 amount)

Visibility

external

State Mutability

``

Requires

Modifiers

requireZeroDebt

Source

Events

ExportedVestingEntries

Source

Signature: ExportedVestingEntries(address account, uint256 escrowedAccountBalance, struct VestingEntries.VestingEntry[] vestingEntries)

RewardDepositInitiated

Source

Signature: RewardDepositInitiated(address account, uint256 amount)