Skip to content

SynthetixBridgeToOptimism

Description

Source: contracts/SynthetixBridgeToOptimism.sol

Architecture

Inheritance Graph

graph TD SynthetixBridgeToOptimism[SynthetixBridgeToOptimism] --> MixinResolver[MixinResolver] MixinResolver[MixinResolver] --> Owned[Owned]

Variables

activated

Source

Type: bool

Constructor

constructor

Source

Details

Signature

(address _owner, address _resolver)

Visibility

public

State Mutability

nonpayable

Restricted Functions

migrateBridge

Source

Details

Signature

migrateBridge(address newBridge)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

Emits

Internal Functions

_rewardDeposit

Source

Details

Signature

_rewardDeposit(uint256 amount)

Visibility

internal

State Mutability

nonpayable

Emits

isActive

Source

Details

Signature

isActive()

Visibility

internal

State Mutability

view

Requires

issuer

Source

Details

Signature

issuer() returns (contract IIssuer)

Visibility

internal

State Mutability

view

messenger

Source

Details

Signature

messenger() returns (contract iOVM_BaseCrossDomainMessenger)

Visibility

internal

State Mutability

view

rewardsDistribution

Source

Details

Signature

rewardsDistribution() returns (address)

Visibility

internal

State Mutability

view

synthetix

Source

Details

Signature

synthetix() returns (contract ISynthetix)

Visibility

internal

State Mutability

view

synthetixBridgeToBase

Source

Details

Signature

synthetixBridgeToBase() returns (address)

Visibility

internal

State Mutability

view

synthetixERC20

Source

Details

Signature

synthetixERC20() returns (contract IERC20)

Visibility

internal

State Mutability

view

External Functions

completeWithdrawal

Source

Details

Signature

completeWithdrawal(address account, uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

Emits

deposit

Source

Details

Signature

deposit(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

Emits

notifyRewardAmount

Source

Details

Signature

notifyRewardAmount(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

rewardDeposit

Source

Details

Signature

rewardDeposit(uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

Modifiers

requireActive

Source

Events

BridgeMigrated

Source

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

Deposit

Source

Signature: Deposit(address account, uint256 amount)

RewardDeposit

Source

Signature: RewardDeposit(address account, uint256 amount)

WithdrawalCompleted

Source

Signature: WithdrawalCompleted(address account, uint256 amount)