Skip to content

BaseSynthetix

Description

Source: contracts/BaseSynthetix.sol

Architecture

Inheritance Graph

graph TD BaseSynthetix[BaseSynthetix] --> ExternStateToken[ExternStateToken] BaseSynthetix[BaseSynthetix] --> MixinResolver[MixinResolver] ExternStateToken[ExternStateToken] --> Proxyable[Proxyable] Proxyable[Proxyable] --> Owned[Owned] MixinResolver[MixinResolver] --> Owned[Owned]

Constants

DECIMALS

Source

Type: uint8

TOKEN_NAME

Source

Type: string

TOKEN_SYMBOL

Source

Type: string

sUSD

Source

Type: bytes32

Constructor

constructor

Source

Details

Signature

(address payable _proxy, contract TokenState _tokenState, address _owner, uint256 _totalSupply, address _resolver)

Visibility

public

State Mutability

nonpayable

Views

anySynthOrSNXRateIsInvalid

Source

Details

Signature

anySynthOrSNXRateIsInvalid() returns (bool)

Visibility

external

State Mutability

view

availableCurrencyKeys

Source

Details

Signature

availableCurrencyKeys() returns (bytes32[])

Visibility

external

State Mutability

view

availableSynthCount

Source

Details

Signature

availableSynthCount() returns (uint256)

Visibility

external

State Mutability

view

availableSynths

Source

Details

Signature

availableSynths(uint256 index) returns (contract ISynth)

Visibility

external

State Mutability

view

collateral

Source

Details

Signature

collateral(address account) returns (uint256)

Visibility

external

State Mutability

view

collateralisationRatio

Source

Details

Signature

collateralisationRatio(address _issuer) returns (uint256)

Visibility

external

State Mutability

view

debtBalanceOf

Source

Details

Signature

debtBalanceOf(address account, bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

isWaitingPeriod

Source

Details

Signature

isWaitingPeriod(bytes32 currencyKey) returns (bool)

Visibility

external

State Mutability

view

maxIssuableSynths

Source

Details

Signature

maxIssuableSynths(address account) returns (uint256)

Visibility

external

State Mutability

view

remainingIssuableSynths

Source

Details

Signature

remainingIssuableSynths(address account) returns (uint256, uint256, uint256)

Visibility

external

State Mutability

view

synths

Source

Details

Signature

synths(bytes32 currencyKey) returns (contract ISynth)

Visibility

external

State Mutability

view

synthsByAddress

Source

Details

Signature

synthsByAddress(address synthAddress) returns (bytes32)

Visibility

external

State Mutability

view

totalIssuedSynths

Source

Details

Signature

totalIssuedSynths(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

totalIssuedSynthsExcludeEtherCollateral

Source

Details

Signature

totalIssuedSynthsExcludeEtherCollateral(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

transferableSynthetix

Source

Details

Signature

transferableSynthetix(address account) returns (uint256)

Visibility

external

State Mutability

view

Internal Functions

_canTransfer

Source

Details

Signature

_canTransfer(address account, uint256 value) returns (bool)

Visibility

internal

State Mutability

view

_notImplemented

Source

Details

Signature

_notImplemented()

Visibility

internal

State Mutability

pure

exchanger

Source

Details

Signature

exchanger() returns (contract IExchanger)

Visibility

internal

State Mutability

view

issuer

Source

Details

Signature

issuer() returns (contract IIssuer)

Visibility

internal

State Mutability

view

rewardsDistribution

Source

Details

Signature

rewardsDistribution() returns (contract IRewardsDistribution)

Visibility

internal

State Mutability

view

supplySchedule

Source

Details

Signature

supplySchedule() returns (contract SupplySchedule)

Visibility

internal

State Mutability

view

synthetixState

Source

Details

Signature

synthetixState() returns (contract ISynthetixState)

Visibility

internal

State Mutability

view

systemStatus

Source

Details

Signature

systemStatus() returns (contract ISystemStatus)

Visibility

internal

State Mutability

view

External Functions

burnSecondary

Source

Details

Signature

burnSecondary(address , uint256 )

Visibility

external

State Mutability

nonpayable

burnSynths

Source

Details

Signature

burnSynths(uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

burnSynthsOnBehalf

Source

Details

Signature

burnSynthsOnBehalf(address burnForAddress, uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

burnSynthsToTarget

Source

Details

Signature

burnSynthsToTarget()

Visibility

external

State Mutability

nonpayable

Modifiers

burnSynthsToTargetOnBehalf

Source

Details

Signature

burnSynthsToTargetOnBehalf(address burnForAddress)

Visibility

external

State Mutability

nonpayable

Modifiers

exchange

Source

Details

Signature

exchange(bytes32 , uint256 , bytes32 ) returns (uint256)

Visibility

external

State Mutability

nonpayable

exchangeOnBehalf

Source

Details

Signature

exchangeOnBehalf(address , bytes32 , uint256 , bytes32 ) returns (uint256)

Visibility

external

State Mutability

nonpayable

exchangeOnBehalfWithTracking

Source

Details

Signature

exchangeOnBehalfWithTracking(address , bytes32 , uint256 , bytes32 , address , bytes32 ) returns (uint256)

Visibility

external

State Mutability

nonpayable

exchangeWithTracking

Source

Details

Signature

exchangeWithTracking(bytes32 , uint256 , bytes32 , address , bytes32 ) returns (uint256)

Visibility

external

State Mutability

nonpayable

exchangeWithVirtual

Source

Details

Signature

exchangeWithVirtual(bytes32 , uint256 , bytes32 , bytes32 ) returns (uint256, contract IVirtualSynth)

Visibility

external

State Mutability

nonpayable

issueMaxSynths

Source

Details

Signature

issueMaxSynths()

Visibility

external

State Mutability

nonpayable

Modifiers

issueMaxSynthsOnBehalf

Source

Details

Signature

issueMaxSynthsOnBehalf(address issueForAddress)

Visibility

external

State Mutability

nonpayable

Modifiers

issueSynths

Source

Details

Signature

issueSynths(uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

issueSynthsOnBehalf

Source

Details

Signature

issueSynthsOnBehalf(address issueForAddress, uint256 amount)

Visibility

external

State Mutability

nonpayable

Modifiers

liquidateDelinquentAccount

Source

Details

Signature

liquidateDelinquentAccount(address , uint256 ) returns (bool)

Visibility

external

State Mutability

nonpayable

mint

Source

Details

Signature

mint() returns (bool)

Visibility

external

State Mutability

nonpayable

mintSecondary

Source

Details

Signature

mintSecondary(address , uint256 )

Visibility

external

State Mutability

nonpayable

mintSecondaryRewards

Source

Details

Signature

mintSecondaryRewards(uint256 )

Visibility

external

State Mutability

nonpayable

settle

Source

Details

Signature

settle(bytes32 ) returns (uint256, uint256, uint256)

Visibility

external

State Mutability

nonpayable

transfer

Source

Details

Signature

transfer(address to, uint256 value) returns (bool)

Visibility

external

State Mutability

nonpayable

Modifiers

transferFrom

Source

Details

Signature

transferFrom(address from, address to, uint256 value) returns (bool)

Visibility

external

State Mutability

nonpayable

Modifiers

Modifiers

exchangeActive

Source

Signature: exchangeActive(bytes32 src, bytes32 dest)

issuanceActive

Source

onlyExchanger

Source

systemActive

Source