Skip to content

SynthetixBridgeToOptimism

Description

Source: contracts/SynthetixBridgeToOptimism.sol

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _resolver)

Visibility

public

State Mutability

``

Views

CONTRACT_NAME

Source

Details

Signature

CONTRACT_NAME() pure returns (bytes32)

Visibility

public

State Mutability

pure

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() view returns (bytes32[] addresses)

Visibility

public

State Mutability

view

Restricted Functions

finalizeWithdrawal

Source

Details

Signature

finalizeWithdrawal(address to, uint256 amount)

Visibility

external

State Mutability

``

Modifiers

Emits

Internal Functions

_depositReward

Source

Details

Signature

_depositReward(address _from, uint256 _amount)

Visibility

internal

State Mutability

``

Emits

counterpart

Source

Details

Signature

counterpart() view returns (address)

Visibility

internal

State Mutability

view

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

closeFeePeriod

Source

Details

Signature

closeFeePeriod(uint256 snxBackedAmount, uint256 totalDebtShares)

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

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

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)

FeePeriodClosed

Source

Signature: FeePeriodClosed(uint256 snxBackedDebt, uint256 totalDebtShares)

RewardDepositInitiated

Source

Signature: RewardDepositInitiated(address account, uint256 amount)