SynthetixBridgeToOptimism¶
Description¶
Source: contracts/SynthetixBridgeToOptimism.sol
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
Restricted Functions¶
finalizeWithdrawal
¶
Details
Signature
finalizeWithdrawal(address to, uint256 amount)
Visibility
external
State Mutability
``
Modifiers
Emits
Internal Functions¶
_depositReward
¶
Details
Signature
_depositReward(address _from, uint256 _amount)
Visibility
internal
State Mutability
``
Emits
counterpart
¶
Details
Signature
counterpart() view returns (address)
Visibility
internal
State Mutability
view
hasZeroDebt
¶
Details
Signature
hasZeroDebt() view
Visibility
internal
State Mutability
view
Requires
issuer
¶
Details
Signature
issuer() view returns (contract IIssuer)
Visibility
internal
State Mutability
view
rewardsDistribution
¶
Details
Signature
rewardsDistribution() view returns (address)
Visibility
internal
State Mutability
view
synthetixBridgeEscrow
¶
Details
Signature
synthetixBridgeEscrow() view returns (address)
Visibility
internal
State Mutability
view
synthetixBridgeToBase
¶
Details
Signature
synthetixBridgeToBase() view returns (address)
Visibility
internal
State Mutability
view
synthetixERC20
¶
Details
Signature
synthetixERC20() view returns (contract IERC20)
Visibility
internal
State Mutability
view
External Functions¶
closeFeePeriod
¶
Details
Signature
closeFeePeriod(uint256 snxBackedAmount, uint256 totalDebtShares)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
deposit
¶
Details
Signature
deposit(uint256 amount)
Visibility
external
State Mutability
``
Modifiers
depositAndMigrateEscrow
¶
Details
Signature
depositAndMigrateEscrow(uint256 depositAmount, uint256[][] entryIDs)
Visibility
public
State Mutability
``
Modifiers
depositReward
¶
Details
Signature
depositReward(uint256 amount)
Visibility
external
State Mutability
``
Modifiers
depositTo
¶
Details
Signature
depositTo(address to, uint256 amount)
Visibility
external
State Mutability
``
Modifiers
forwardTokensToEscrow
¶
Details
Signature
forwardTokensToEscrow(address token)
Visibility
external
State Mutability
``
migrateEscrow
¶
Details
Signature
migrateEscrow(uint256[][] entryIDs)
Visibility
public
State Mutability
``
Modifiers
notifyRewardAmount
¶
Details
Signature
notifyRewardAmount(uint256 amount)
Visibility
external
State Mutability
``
Requires
Modifiers¶
requireZeroDebt
¶
Events¶
ExportedVestingEntries
¶
Signature: ExportedVestingEntries(address account, uint256 escrowedAccountBalance, struct VestingEntries.VestingEntry[] vestingEntries)
FeePeriodClosed
¶
Signature: FeePeriodClosed(uint256 snxBackedDebt, uint256 totalDebtShares)
RewardDepositInitiated
¶
Signature: RewardDepositInitiated(address account, uint256 amount)