Skip to content

EmptyCollateralManager

Description

Source: contracts/EmptyCollateralManager.sol

External Functions

addCollaterals

Source

Details

Signature

addCollaterals(address[])

Visibility

external

State Mutability

undefined

addShortableSynths

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

addSynths

Source

Details

Signature

addSynths(bytes32[], bytes32[])

Visibility

external

State Mutability

undefined

areShortableSynthsSet

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

areSynthsAndCurrenciesSet

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

decrementLongs

Source

Details

Signature

decrementLongs(bytes32, uint256)

Visibility

external

State Mutability

undefined

decrementShorts

Source

Details

Signature

decrementShorts(bytes32, uint256)

Visibility

external

State Mutability

undefined

exceedsDebtLimit

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

getBorrowRate

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

getNewLoanId

Source

Details

Signature

getNewLoanId() returns (uint256 id)

Visibility

external

State Mutability

undefined

getRatesAndTime

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

getShortRate

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

getShortRatesAndTime

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

hasCollateral

Source

Details

Signature

hasCollateral(address) view returns (bool)

Visibility

external

State Mutability

undefined

incrementLongs

Source

Details

Signature

incrementLongs(bytes32, uint256)

Visibility

external

State Mutability

undefined

incrementShorts

Source

Details

Signature

incrementShorts(bytes32, uint256)

Visibility

external

State Mutability

undefined

isSynthManaged

Source

Details

Signature

isSynthManaged(bytes32) view returns (bool)

Visibility

external

State Mutability

undefined

long

Source

Details

Signature

long(bytes32) view returns (uint256 amount)

Visibility

external

State Mutability

undefined

removeCollaterals

Source

Details

Signature

removeCollaterals(address[])

Visibility

external

State Mutability

undefined

removeShortableSynths

Source

Details

Signature

removeShortableSynths(bytes32[])

Visibility

external

State Mutability

undefined

removeSynths

Source

Details

Signature

removeSynths(bytes32[], bytes32[])

Visibility

external

State Mutability

undefined

short

Source

Details

Signature

short(bytes32) view returns (uint256 amount)

Visibility

external

State Mutability

undefined

totalLong

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

totalShort

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

updateBorrowRates

Source

Details

Signature

updateBorrowRates(uint256)

Visibility

external

State Mutability

undefined

updateShortRates

Source

Details

Signature

updateShortRates(bytes32, uint256)

Visibility

external

State Mutability

undefined