Skip to content

SynthetixBridgeToBase

Description

Source: contracts/SynthetixBridgeToBase.sol

Architecture

Inheritance Graph

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

Constructor

constructor

Source

Details

Signature

(address _owner, address _resolver)

Visibility

public

State Mutability

nonpayable

Restricted Functions

mintSecondaryFromDeposit

Source

Details

Signature

mintSecondaryFromDeposit(address account, uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

Emits

mintSecondaryFromDepositForRewards

Source

Details

Signature

mintSecondaryFromDepositForRewards(uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

Emits

Internal Functions

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

onlyAllowFromOptimism

Source

Details

Signature

onlyAllowFromOptimism()

Visibility

internal

State Mutability

view

Requires

synthetix

Source

Details

Signature

synthetix() returns (contract ISynthetix)

Visibility

internal

State Mutability

view

synthetixBridgeToOptimism

Source

Details

Signature

synthetixBridgeToOptimism() returns (address)

Visibility

internal

State Mutability

view

External Functions

initiateWithdrawal

Source

Details

Signature

initiateWithdrawal(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Emits

Modifiers

onlyOptimismBridge

Source

Events

MintedSecondary

Source

Signature: MintedSecondary(address account, uint256 amount)

MintedSecondaryRewards

Source

Signature: MintedSecondaryRewards(uint256 amount)

WithdrawalInitiated

Source

Signature: WithdrawalInitiated(address account, uint256 amount)