Skip to content

SecondaryDeposit

Description

Source: contracts/SecondaryDeposit.sol

Architecture

Inheritance Graph

graph TD SecondaryDeposit[SecondaryDeposit] --> MixinSystemSettings[MixinSystemSettings] MixinSystemSettings[MixinSystemSettings] --> MixinResolver[MixinResolver] MixinResolver[MixinResolver] --> Owned[Owned]

Variables

activated

Source

Type: bool

Constructor

constructor

Source

Details

Signature

(address _owner, address _resolver)

Visibility

public

State Mutability

nonpayable

Views

maximumDeposit

Source

Details

Signature

maximumDeposit() returns (uint256)

Visibility

external

State Mutability

view

Restricted Functions

migrateDeposit

Source

Details

Signature

migrateDeposit(address newDeposit)

Visibility

external

State Mutability

nonpayable

Modifiers

Emits

Internal Functions

companion

Source

Details

Signature

companion() returns (address)

Visibility

internal

State Mutability

view

issuer

Source

Details

Signature

issuer() returns (contract IIssuer)

Visibility

internal

State Mutability

view

messenger

Source

Details

Signature

messenger() returns (contract ICrossDomainMessenger)

Visibility

internal

State Mutability

view

rewardEscrow

Source

Details

Signature

rewardEscrow() returns (contract IRewardEscrow)

Visibility

internal

State Mutability

view

synthetix

Source

Details

Signature

synthetix() returns (contract ISynthetix)

Visibility

internal

State Mutability

view

synthetixERC20

Source

Details

Signature

synthetixERC20() returns (contract IERC20)

Visibility

internal

State Mutability

view

External Functions

completeWithdrawal

Source

Details

Signature

completeWithdrawal(address , uint256 )

Visibility

external

State Mutability

nonpayable

deposit

Source

Details

Signature

deposit(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Emits

initiateWithdrawal

Source

Details

Signature

initiateWithdrawal(uint256 )

Visibility

external

State Mutability

nonpayable

mintSecondaryFromDeposit

Source

Details

Signature

mintSecondaryFromDeposit(address account, uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Emits

Events

Deposit

Source

Signature: Deposit(address account, uint256 amount)

DepositMigrated

Source

Signature: DepositMigrated(address oldDeposit, address newDeposit, uint256 amount)

MintedSecondary

Source

Signature: MintedSecondary(address account, uint256 amount)