Skip to content

SynthetixBridgeToOptimism

Description

Source: contracts/SynthetixBridgeToOptimism.sol

Variables

activated

Source

Type: bool

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _resolver)

Visibility

public

State Mutability

undefined

Restricted Functions

migrateBridge

Source

Details

Signature

migrateBridge(address newBridge)

Visibility

external

State Mutability

undefined

Requires

Modifiers

Emits

Internal Functions

_initiateRewardDeposit

Source

Details

Signature

_initiateRewardDeposit(uint256 _amount)

Visibility

internal

State Mutability

undefined

Emits

hasZeroDebt

Source

Details

Signature

hasZeroDebt() view

Visibility

internal

State Mutability

undefined

Requires

isActive

Source

Details

Signature

isActive() view

Visibility

internal

State Mutability

undefined

Requires

issuer

Source

Details

Signature

issuer() view returns (contract IIssuer)

Visibility

internal

State Mutability

undefined

messenger

Source

Details

Signature

messenger() view returns (contract iOVM_BaseCrossDomainMessenger)

Visibility

internal

State Mutability

undefined

rewardEscrowV2

Source

Details

Signature

rewardEscrowV2() view returns (contract IRewardEscrowV2)

Visibility

internal

State Mutability

undefined

rewardsDistribution

Source

Details

Signature

rewardsDistribution() view returns (address)

Visibility

internal

State Mutability

undefined

synthetix

Source

Details

Signature

synthetix() view returns (contract ISynthetix)

Visibility

internal

State Mutability

undefined

synthetixBridgeToBase

Source

Details

Signature

synthetixBridgeToBase() view returns (address)

Visibility

internal

State Mutability

undefined

synthetixERC20

Source

Details

Signature

synthetixERC20() view returns (contract IERC20)

Visibility

internal

State Mutability

undefined

External Functions

completeWithdrawal

Source

Details

Signature

completeWithdrawal(address account, uint256 amount)

Visibility

external

State Mutability

undefined

Requires

Modifiers

Emits

depositAndMigrateEscrow

Source

Details

Signature

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

Visibility

public

State Mutability

undefined

Modifiers

initiateDeposit

Source

Details

Signature

initiateDeposit(uint256 depositAmount)

Visibility

external

State Mutability

undefined

Modifiers

initiateEscrowMigration

Source

Details

Signature

initiateEscrowMigration(uint256[][] entryIDs)

Visibility

public

State Mutability

undefined

Modifiers

initiateRewardDeposit

Source

Details

Signature

initiateRewardDeposit(uint256 amount)

Visibility

external

State Mutability

undefined

Modifiers

notifyRewardAmount

Source

Details

Signature

notifyRewardAmount(uint256 amount)

Visibility

external

State Mutability

undefined

Requires

Modifiers

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() view returns (bytes32[] addresses)

Visibility

public

State Mutability

undefined

Modifiers

requireActive

Source

requireZeroDebt

Source

Events

BridgeMigrated

Source

Signature: BridgeMigrated(address oldBridge, address newBridge, uint256 amount)

Deposit

Source

Signature: Deposit(address account, uint256 amount)

ExportedVestingEntries

Source

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

RewardDeposit

Source

Signature: RewardDeposit(address account, uint256 amount)

WithdrawalCompleted

Source

Signature: WithdrawalCompleted(address account, uint256 amount)