DebtMigratorOnEthereum¶
Description¶
Source: contracts/DebtMigratorOnEthereum.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
Restricted Functions¶
resumeInitiation
¶
Details
Signature
resumeInitiation()
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
suspendInitiation
¶
Details
Signature
suspendInitiation()
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
Internal Functions¶
_initiatingActive
¶
Details
Signature
_initiatingActive() view
Visibility
internal
State Mutability
view
Requires
_liquidator
¶
Details
Signature
_liquidator() view returns (contract ILiquidator)
Visibility
internal
State Mutability
view
_liquidatorRewards
¶
Details
Signature
_liquidatorRewards() view returns (contract ILiquidatorRewards)
Visibility
internal
State Mutability
view
_migrateDebt
¶
Details
Signature
_migrateDebt(address _account)
Visibility
internal
State Mutability
``
Requires
Emits
_synthetixBridgeToOptimism
¶
Details
Signature
_synthetixBridgeToOptimism() view returns (contract ISynthetixBridgeToOptimism)
Visibility
internal
State Mutability
view
_synthetixDebtShare
¶
Details
Signature
_synthetixDebtShare() view returns (contract ISynthetixDebtShare)
Visibility
internal
State Mutability
view
External Functions¶
migrateDebt
¶
Details
Signature
migrateDebt(address account)
Visibility
public
State Mutability
``
Requires
Modifiers
Modifiers¶
requireInitiationActive
¶
Events¶
InitiationResumed
¶
Signature: InitiationResumed()
InitiationSuspended
¶
Signature: InitiationSuspended()
MigrationInitiated
¶
Signature: MigrationInitiated(address account, uint256 totalDebtSharesMigrated, uint256 totalEscrowMigrated, uint256 totalLiquidBalanceMigrated)