Skip to content

BaseSynthetixBridge

Description

Source: contracts/BaseSynthetixBridge.sol

Variables

initiationActive

Source

Type: bool

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

synthTransferReceived

Source

Details

Signature

synthTransferReceived() view returns (uint256)

Visibility

external

State Mutability

view

synthTransferSent

Source

Details

Signature

synthTransferSent() view returns (uint256)

Visibility

external

State Mutability

view

Restricted Functions

finalizeSynthTransfer

Source

Details

Signature

finalizeSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)

Visibility

external

State Mutability

``

Modifiers

Emits

resumeInitiation

Source

Details

Signature

resumeInitiation()

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

suspendInitiation

Source

Details

Signature

suspendInitiation()

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

Internal Functions

_incrementSynthsTransferCounter

Source

Details

Signature

_incrementSynthsTransferCounter(bytes32 group, bytes32 currencyKey, uint256 amount)

Visibility

internal

State Mutability

``

_sumTransferAmounts

Source

Details

Signature

_sumTransferAmounts(bytes32 group) view returns (uint256 sum)

Visibility

internal

State Mutability

view

Requires

counterpart

Source

Details

Signature

counterpart() view returns (address)

Visibility

internal

State Mutability

view

exchangeRates

Source

Details

Signature

exchangeRates() view returns (contract IExchangeRates)

Visibility

internal

State Mutability

view

feePool

Source

Details

Signature

feePool() view returns (contract IFeePool)

Visibility

internal

State Mutability

view

flexibleStorage

Source

Details

Signature

flexibleStorage() view returns (contract IFlexibleStorage)

Visibility

internal

State Mutability

view

initiatingActive

Source

Details

Signature

initiatingActive() view

Visibility

internal

State Mutability

view

Requires

issuer

Source

Details

Signature

issuer() view returns (contract IIssuer)

Visibility

internal

State Mutability

view

messenger

Source

Details

Signature

messenger() view returns (contract iAbs_BaseCrossDomainMessenger)

Visibility

internal

State Mutability

view

onlyAllowFromCounterpart

Source

Details

Signature

onlyAllowFromCounterpart() view

Visibility

internal

State Mutability

view

Requires

rewardEscrowV2

Source

Details

Signature

rewardEscrowV2() view returns (contract IRewardEscrowV2)

Visibility

internal

State Mutability

view

synthetix

Source

Details

Signature

synthetix() view returns (contract ISynthetix)

Visibility

internal

State Mutability

view

systemStatus

Source

Details

Signature

systemStatus() view returns (contract ISystemStatus)

Visibility

internal

State Mutability

view

External Functions

initiateSynthTransfer

Source

Details

Signature

initiateSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

Modifiers

onlyCounterpart

Source

requireInitiationActive

Source

Events

FinalizeSynthTransfer

Source

Signature: FinalizeSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)

InitiateSynthTransfer

Source

Signature: InitiateSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)

InitiationResumed

Source

Signature: InitiationResumed()

InitiationSuspended

Source

Signature: InitiationSuspended()