Skip to content

EmptyCollateralManager

Description

Source: contracts/EmptyCollateralManager.sol

Views

areShortableSynthsSet

Source

Details

Signature

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

Visibility

external

State Mutability

view

areSynthsAndCurrenciesSet

Source

Details

Signature

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

Visibility

external

State Mutability

view

exceedsDebtLimit

Source

Details

Signature

exceedsDebtLimit(uint256 , bytes32 ) returns (bool, bool)

Visibility

external

State Mutability

view

getBorrowRate

Source

Details

Signature

getBorrowRate() returns (uint256, bool)

Visibility

external

State Mutability

view

getRatesAndTime

Source

Details

Signature

getRatesAndTime(uint256 ) returns (uint256, uint256, uint256, uint256)

Visibility

external

State Mutability

view

getShortRate

Source

Details

Signature

getShortRate(bytes32 ) returns (uint256, bool)

Visibility

external

State Mutability

view

getShortRatesAndTime

Source

Details

Signature

getShortRatesAndTime(bytes32 , uint256 ) returns (uint256, uint256, uint256, uint256)

Visibility

external

State Mutability

view

hasCollateral

Source

Details

Signature

hasCollateral(address ) returns (bool)

Visibility

external

State Mutability

view

isSynthManaged

Source

Details

Signature

isSynthManaged(bytes32 ) returns (bool)

Visibility

external

State Mutability

view

long

Source

Details

Signature

long(bytes32 ) returns (uint256)

Visibility

external

State Mutability

view

short

Source

Details

Signature

short(bytes32 ) returns (uint256)

Visibility

external

State Mutability

view

totalLong

Source

Details

Signature

totalLong() returns (uint256, bool)

Visibility

external

State Mutability

view

totalShort

Source

Details

Signature

totalShort() returns (uint256, bool)

Visibility

external

State Mutability

view

External Functions

addCollaterals

Source

Details

Signature

addCollaterals(address[] )

Visibility

external

State Mutability

nonpayable

addShortableSynths

Source

Details

Signature

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

Visibility

external

State Mutability

nonpayable

addSynths

Source

Details

Signature

addSynths(bytes32[] , bytes32[] )

Visibility

external

State Mutability

nonpayable

decrementLongs

Source

Details

Signature

decrementLongs(bytes32 , uint256 )

Visibility

external

State Mutability

nonpayable

decrementShorts

Source

Details

Signature

decrementShorts(bytes32 , uint256 )

Visibility

external

State Mutability

nonpayable

getNewLoanId

Source

Details

Signature

getNewLoanId() returns (uint256)

Visibility

external

State Mutability

nonpayable

incrementLongs

Source

Details

Signature

incrementLongs(bytes32 , uint256 )

Visibility

external

State Mutability

nonpayable

incrementShorts

Source

Details

Signature

incrementShorts(bytes32 , uint256 )

Visibility

external

State Mutability

nonpayable

removeCollaterals

Source

Details

Signature

removeCollaterals(address[] )

Visibility

external

State Mutability

nonpayable

removeShortableSynths

Source

Details

Signature

removeShortableSynths(bytes32[] )

Visibility

external

State Mutability

nonpayable

removeSynths

Source

Details

Signature

removeSynths(bytes32[] , bytes32[] )

Visibility

external

State Mutability

nonpayable

updateBorrowRates

Source

Details

Signature

updateBorrowRates(uint256 )

Visibility

external

State Mutability

nonpayable

updateShortRates

Source

Details

Signature

updateShortRates(bytes32 , uint256 )

Visibility

external

State Mutability

nonpayable