EmptyCollateralManager¶
Description¶
Source: contracts/EmptyCollateralManager.sol
Views¶
areShortableSynthsSet
¶
Details
Signature
areShortableSynthsSet(bytes32[], bytes32[]) view returns (bool)
Visibility
external
State Mutability
view
areSynthsAndCurrenciesSet
¶
Details
Signature
areSynthsAndCurrenciesSet(bytes32[], bytes32[]) view returns (bool)
Visibility
external
State Mutability
view
exceedsDebtLimit
¶
Details
Signature
exceedsDebtLimit(uint256, bytes32) view returns (bool canIssue, bool anyRateIsInvalid)
Visibility
external
State Mutability
view
getBorrowRate
¶
Details
Signature
getBorrowRate() view returns (uint256 borrowRate, bool anyRateIsInvalid)
Visibility
external
State Mutability
view
getRatesAndTime
¶
Details
Signature
getRatesAndTime(uint256) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)
Visibility
external
State Mutability
view
getShortRate
¶
Details
Signature
getShortRate(bytes32) view returns (uint256 shortRate, bool rateIsInvalid)
Visibility
external
State Mutability
view
getShortRatesAndTime
¶
Details
Signature
getShortRatesAndTime(bytes32, uint256) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)
Visibility
external
State Mutability
view
hasCollateral
¶
Details
Signature
hasCollateral(address) view returns (bool)
Visibility
external
State Mutability
view
isSynthManaged
¶
Details
Signature
isSynthManaged(bytes32) view returns (bool)
Visibility
external
State Mutability
view
long
¶
Details
Signature
long(bytes32) view returns (uint256 amount)
Visibility
external
State Mutability
view
short
¶
Details
Signature
short(bytes32) view returns (uint256 amount)
Visibility
external
State Mutability
view
totalLong
¶
Details
Signature
totalLong() view returns (uint256 susdValue, bool anyRateIsInvalid)
Visibility
external
State Mutability
view
totalShort
¶
Details
Signature
totalShort() view returns (uint256 susdValue, bool anyRateIsInvalid)
Visibility
external
State Mutability
view
External Functions¶
addCollaterals
¶
Details
Signature
addCollaterals(address[])
Visibility
external
State Mutability
``
addShortableSynths
¶
Details
Signature
addShortableSynths(bytes32[2][], bytes32[])
Visibility
external
State Mutability
``
addSynths
¶
Details
Signature
addSynths(bytes32[], bytes32[])
Visibility
external
State Mutability
``
decrementLongs
¶
Details
Signature
decrementLongs(bytes32, uint256)
Visibility
external
State Mutability
``
decrementShorts
¶
Details
Signature
decrementShorts(bytes32, uint256)
Visibility
external
State Mutability
``
getNewLoanId
¶
Details
Signature
getNewLoanId() returns (uint256 id)
Visibility
external
State Mutability
``
incrementLongs
¶
Details
Signature
incrementLongs(bytes32, uint256)
Visibility
external
State Mutability
``
incrementShorts
¶
Details
Signature
incrementShorts(bytes32, uint256)
Visibility
external
State Mutability
``
removeCollaterals
¶
Details
Signature
removeCollaterals(address[])
Visibility
external
State Mutability
``
removeShortableSynths
¶
Details
Signature
removeShortableSynths(bytes32[])
Visibility
external
State Mutability
``
removeSynths
¶
Details
Signature
removeSynths(bytes32[], bytes32[])
Visibility
external
State Mutability
``
updateBorrowRates
¶
Details
Signature
updateBorrowRates(uint256)
Visibility
external
State Mutability
``
updateShortRates
¶
Details
Signature
updateShortRates(bytes32, uint256)
Visibility
external
State Mutability
``