BaseSynthetixBridge¶
Description¶
Source: contracts/BaseSynthetixBridge.sol
Variables¶
initiationActive
¶
Type: bool
Constructor¶
constructor
¶
Details
Signature
constructor(address _owner, address _resolver)
Visibility
public
State Mutability
``
Views¶
CONTRACT_NAME
¶
Details
Signature
CONTRACT_NAME() pure returns (bytes32)
Visibility
public
State Mutability
pure
resolverAddressesRequired
¶
Details
Signature
resolverAddressesRequired() view returns (bytes32[] addresses)
Visibility
public
State Mutability
view
synthTransferReceived
¶
Details
Signature
synthTransferReceived() view returns (uint256)
Visibility
external
State Mutability
view
synthTransferSent
¶
Details
Signature
synthTransferSent() view returns (uint256)
Visibility
external
State Mutability
view
Restricted Functions¶
finalizeSynthTransfer
¶
Details
Signature
finalizeSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)
Visibility
external
State Mutability
``
Modifiers
Emits
resumeInitiation
¶
Details
Signature
resumeInitiation()
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
suspendInitiation
¶
Details
Signature
suspendInitiation()
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
Internal Functions¶
_incrementSynthsTransferCounter
¶
Details
Signature
_incrementSynthsTransferCounter(bytes32 group, bytes32 currencyKey, uint256 amount)
Visibility
internal
State Mutability
``
_sumTransferAmounts
¶
Details
Signature
_sumTransferAmounts(bytes32 group) view returns (uint256 sum)
Visibility
internal
State Mutability
view
Requires
counterpart
¶
Details
Signature
counterpart() view returns (address)
Visibility
internal
State Mutability
view
exchangeRates
¶
Details
Signature
exchangeRates() view returns (contract IExchangeRates)
Visibility
internal
State Mutability
view
feePool
¶
Details
Signature
feePool() view returns (contract IFeePool)
Visibility
internal
State Mutability
view
flexibleStorage
¶
Details
Signature
flexibleStorage() view returns (contract IFlexibleStorage)
Visibility
internal
State Mutability
view
initiatingActive
¶
Details
Signature
initiatingActive() view
Visibility
internal
State Mutability
view
Requires
issuer
¶
Details
Signature
issuer() view returns (contract IIssuer)
Visibility
internal
State Mutability
view
messenger
¶
Details
Signature
messenger() view returns (contract iAbs_BaseCrossDomainMessenger)
Visibility
internal
State Mutability
view
onlyAllowFromCounterpart
¶
Details
Signature
onlyAllowFromCounterpart() view
Visibility
internal
State Mutability
view
Requires
rewardEscrowV2
¶
Details
Signature
rewardEscrowV2() view returns (contract IRewardEscrowV2)
Visibility
internal
State Mutability
view
synthetix
¶
Details
Signature
synthetix() view returns (contract ISynthetix)
Visibility
internal
State Mutability
view
systemStatus
¶
Details
Signature
systemStatus() view returns (contract ISystemStatus)
Visibility
internal
State Mutability
view
External Functions¶
initiateSynthTransfer
¶
Details
Signature
initiateSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
Modifiers¶
onlyCounterpart
¶
requireInitiationActive
¶
Events¶
FinalizeSynthTransfer
¶
Signature: FinalizeSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)
InitiateSynthTransfer
¶
Signature: InitiateSynthTransfer(bytes32 currencyKey, address destination, uint256 amount)
InitiationResumed
¶
Signature: InitiationResumed()
InitiationSuspended
¶
Signature: InitiationSuspended()