SecondaryDeposit¶
Description¶
Source: contracts/SecondaryDeposit.sol
Architecture¶
Inheritance Graph¶
Variables¶
activated
¶
Type: bool
Constructor¶
constructor
¶
Details
Signature
(address _owner, address _resolver)
Visibility
public
State Mutability
nonpayable
Views¶
maximumDeposit
¶
Details
Signature
maximumDeposit() returns (uint256)
Visibility
external
State Mutability
view
Restricted Functions¶
migrateDeposit
¶
Details
Signature
migrateDeposit(address newDeposit)
Visibility
external
State Mutability
nonpayable
Modifiers
Emits
Internal Functions¶
companion
¶
Details
Signature
companion() returns (address)
Visibility
internal
State Mutability
view
issuer
¶
Details
Signature
issuer() returns (contract IIssuer)
Visibility
internal
State Mutability
view
messenger
¶
Details
Signature
messenger() returns (contract ICrossDomainMessenger)
Visibility
internal
State Mutability
view
rewardEscrow
¶
Details
Signature
rewardEscrow() returns (contract IRewardEscrow)
Visibility
internal
State Mutability
view
synthetix
¶
Details
Signature
synthetix() returns (contract ISynthetix)
Visibility
internal
State Mutability
view
synthetixERC20
¶
Details
Signature
synthetixERC20() returns (contract IERC20)
Visibility
internal
State Mutability
view
External Functions¶
completeWithdrawal
¶
Details
Signature
completeWithdrawal(address , uint256 )
Visibility
external
State Mutability
nonpayable
deposit
¶
Details
Signature
deposit(uint256 amount)
Visibility
external
State Mutability
nonpayable
Requires
Emits
initiateWithdrawal
¶
Details
Signature
initiateWithdrawal(uint256 )
Visibility
external
State Mutability
nonpayable
mintSecondaryFromDeposit
¶
Details
Signature
mintSecondaryFromDeposit(address account, uint256 amount)
Visibility
external
State Mutability
nonpayable
Requires
Emits
Events¶
Deposit
¶
Signature: Deposit(address account, uint256 amount)
DepositMigrated
¶
Signature: DepositMigrated(address oldDeposit, address newDeposit, uint256 amount)
MintedSecondary
¶
Signature: MintedSecondary(address account, uint256 amount)