Skip to content

EmptyCollateralManager

Description

Source: contracts/EmptyCollateralManager.sol

Views

areShortableSynthsSet

Source

Details

Signature

areShortableSynthsSet(bytes32[], bytes32[]) view returns (bool)

Visibility

external

State Mutability

view

areSynthsAndCurrenciesSet

Source

Details

Signature

areSynthsAndCurrenciesSet(bytes32[], bytes32[]) view returns (bool)

Visibility

external

State Mutability

view

exceedsDebtLimit

Source

Details

Signature

exceedsDebtLimit(uint256, bytes32) view returns (bool canIssue, bool anyRateIsInvalid)

Visibility

external

State Mutability

view

getBorrowRate

Source

Details

Signature

getBorrowRate() view returns (uint256 borrowRate, bool anyRateIsInvalid)

Visibility

external

State Mutability

view

getRatesAndTime

Source

Details

Signature

getRatesAndTime(uint256) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)

Visibility

external

State Mutability

view

getShortRate

Source

Details

Signature

getShortRate(bytes32) view returns (uint256 shortRate, bool rateIsInvalid)

Visibility

external

State Mutability

view

getShortRatesAndTime

Source

Details

Signature

getShortRatesAndTime(bytes32, uint256) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)

Visibility

external

State Mutability

view

hasCollateral

Source

Details

Signature

hasCollateral(address) view returns (bool)

Visibility

external

State Mutability

view

isSynthManaged

Source

Details

Signature

isSynthManaged(bytes32) view returns (bool)

Visibility

external

State Mutability

view

long

Source

Details

Signature

long(bytes32) view returns (uint256 amount)

Visibility

external

State Mutability

view

short

Source

Details

Signature

short(bytes32) view returns (uint256 amount)

Visibility

external

State Mutability

view

totalLong

Source

Details

Signature

totalLong() view returns (uint256 susdValue, bool anyRateIsInvalid)

Visibility

external

State Mutability

view

totalShort

Source

Details

Signature

totalShort() view returns (uint256 susdValue, bool anyRateIsInvalid)

Visibility

external

State Mutability

view

External Functions

addCollaterals

Source

Details

Signature

addCollaterals(address[])

Visibility

external

State Mutability

``

addShortableSynths

Source

Details

Signature

addShortableSynths(bytes32[2][], bytes32[])

Visibility

external

State Mutability

``

addSynths

Source

Details

Signature

addSynths(bytes32[], bytes32[])

Visibility

external

State Mutability

``

decrementLongs

Source

Details

Signature

decrementLongs(bytes32, uint256)

Visibility

external

State Mutability

``

decrementShorts

Source

Details

Signature

decrementShorts(bytes32, uint256)

Visibility

external

State Mutability

``

getNewLoanId

Source

Details

Signature

getNewLoanId() returns (uint256 id)

Visibility

external

State Mutability

``

incrementLongs

Source

Details

Signature

incrementLongs(bytes32, uint256)

Visibility

external

State Mutability

``

incrementShorts

Source

Details

Signature

incrementShorts(bytes32, uint256)

Visibility

external

State Mutability

``

removeCollaterals

Source

Details

Signature

removeCollaterals(address[])

Visibility

external

State Mutability

``

removeShortableSynths

Source

Details

Signature

removeShortableSynths(bytes32[])

Visibility

external

State Mutability

``

removeSynths

Source

Details

Signature

removeSynths(bytes32[], bytes32[])

Visibility

external

State Mutability

``

updateBorrowRates

Source

Details

Signature

updateBorrowRates(uint256)

Visibility

external

State Mutability

``

updateShortRates

Source

Details

Signature

updateShortRates(bytes32, uint256)

Visibility

external

State Mutability

``