ISynthetix¶
Description¶
Source: contracts/interfaces/ISynthetix.sol
Views¶
anySynthOrSNXRateIsInvalid
¶
Details
Signature
anySynthOrSNXRateIsInvalid() view returns (bool anyRateInvalid)
Visibility
external
State Mutability
view
availableCurrencyKeys
¶
Details
Signature
availableCurrencyKeys() view returns (bytes32[])
Visibility
external
State Mutability
view
availableSynthCount
¶
Details
Signature
availableSynthCount() view returns (uint256)
Visibility
external
State Mutability
view
availableSynths
¶
Details
Signature
availableSynths(uint256 index) view returns (contract ISynth)
Visibility
external
State Mutability
view
collateral
¶
Details
Signature
collateral(address account) view returns (uint256)
Visibility
external
State Mutability
view
collateralisationRatio
¶
Details
Signature
collateralisationRatio(address issuer) view returns (uint256)
Visibility
external
State Mutability
view
debtBalanceOf
¶
Details
Signature
debtBalanceOf(address issuer, bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
view
getFirstNonZeroEscrowIndex
¶
Details
Signature
getFirstNonZeroEscrowIndex(address account) view returns (uint256)
Visibility
external
State Mutability
view
isWaitingPeriod
¶
Details
Signature
isWaitingPeriod(bytes32 currencyKey) view returns (bool)
Visibility
external
State Mutability
view
maxIssuableSynths
¶
Details
Signature
maxIssuableSynths(address issuer) view returns (uint256 maxIssuable)
Visibility
external
State Mutability
view
remainingIssuableSynths
¶
Details
Signature
remainingIssuableSynths(address issuer) view returns (uint256 maxIssuable, uint256 alreadyIssued, uint256 totalSystemDebt)
Visibility
external
State Mutability
view
synths
¶
Details
Signature
synths(bytes32 currencyKey) view returns (contract ISynth)
Visibility
external
State Mutability
view
synthsByAddress
¶
Details
Signature
synthsByAddress(address synthAddress) view returns (bytes32)
Visibility
external
State Mutability
view
totalIssuedSynths
¶
Details
Signature
totalIssuedSynths(bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
view
totalIssuedSynthsExcludeOtherCollateral
¶
Details
Signature
totalIssuedSynthsExcludeOtherCollateral(bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
view
transferableSynthetix
¶
Details
Signature
transferableSynthetix(address account) view returns (uint256 transferable)
Visibility
external
State Mutability
view
External Functions¶
burnSecondary
¶
Details
Signature
burnSecondary(address account, uint256 amount)
Visibility
external
State Mutability
``
burnSynths
¶
Details
Signature
burnSynths(uint256 amount)
Visibility
external
State Mutability
``
burnSynthsOnBehalf
¶
Details
Signature
burnSynthsOnBehalf(address burnForAddress, uint256 amount)
Visibility
external
State Mutability
``
burnSynthsToTarget
¶
Details
Signature
burnSynthsToTarget()
Visibility
external
State Mutability
``
burnSynthsToTargetOnBehalf
¶
Details
Signature
burnSynthsToTargetOnBehalf(address burnForAddress)
Visibility
external
State Mutability
``
exchange
¶
Details
Signature
exchange(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeAtomically
¶
Details
Signature
exchangeAtomically(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, bytes32 trackingCode, uint256 minAmount) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeOnBehalf
¶
Details
Signature
exchangeOnBehalf(address exchangeForAddress, bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeOnBehalfWithTracking
¶
Details
Signature
exchangeOnBehalfWithTracking(address exchangeForAddress, bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, address rewardAddress, bytes32 trackingCode) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeWithTracking
¶
Details
Signature
exchangeWithTracking(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, address rewardAddress, bytes32 trackingCode) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeWithTrackingForInitiator
¶
Details
Signature
exchangeWithTrackingForInitiator(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, address rewardAddress, bytes32 trackingCode) returns (uint256 amountReceived)
Visibility
external
State Mutability
``
exchangeWithVirtual
¶
Details
Signature
exchangeWithVirtual(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, bytes32 trackingCode) returns (uint256 amountReceived, contract IVirtualSynth vSynth)
Visibility
external
State Mutability
``
issueMaxSynths
¶
Details
Signature
issueMaxSynths()
Visibility
external
State Mutability
``
issueMaxSynthsOnBehalf
¶
Details
Signature
issueMaxSynthsOnBehalf(address issueForAddress)
Visibility
external
State Mutability
``
issueSynths
¶
Details
Signature
issueSynths(uint256 amount)
Visibility
external
State Mutability
``
issueSynthsOnBehalf
¶
Details
Signature
issueSynthsOnBehalf(address issueForAddress, uint256 amount)
Visibility
external
State Mutability
``
liquidateDelinquentAccount
¶
Details
Signature
liquidateDelinquentAccount(address account) returns (bool)
Visibility
external
State Mutability
``
liquidateDelinquentAccountEscrowIndex
¶
Details
Signature
liquidateDelinquentAccountEscrowIndex(address account, uint256 escrowStartIndex) returns (bool)
Visibility
external
State Mutability
``
liquidateSelf
¶
Details
Signature
liquidateSelf() returns (bool)
Visibility
external
State Mutability
``
migrateAccountBalances
¶
Details
Signature
migrateAccountBalances(address account) returns (uint256 totalEscrowRevoked, uint256 totalLiquidBalance)
Visibility
external
State Mutability
``
mint
¶
Details
Signature
mint() returns (bool)
Visibility
external
State Mutability
``
mintSecondary
¶
Details
Signature
mintSecondary(address account, uint256 amount)
Visibility
external
State Mutability
``
mintSecondaryRewards
¶
Details
Signature
mintSecondaryRewards(uint256 amount)
Visibility
external
State Mutability
``
settle
¶
Details
Signature
settle(bytes32 currencyKey) returns (uint256 reclaimed, uint256 refunded, uint256 numEntries)
Visibility
external
State Mutability
``