Skip to content

RealtimeDebtCache

Description

Source: contracts/RealtimeDebtCache.sol

Architecture

Inheritance Graph

graph TD RealtimeDebtCache[RealtimeDebtCache] --> DebtCache[DebtCache] DebtCache[DebtCache] --> MixinSystemSettings[MixinSystemSettings] MixinSystemSettings[MixinSystemSettings] --> MixinResolver[MixinResolver] MixinResolver[MixinResolver] --> Owned[Owned]

Constructor

constructor

Source

Details

Signature

(address _owner, address _resolver)

Visibility

public

State Mutability

nonpayable

Views

cacheInfo

Source

Details

Signature

cacheInfo() returns (uint256, uint256, bool, bool)

Visibility

external

State Mutability

view

cacheInvalid

Source

Details

Signature

cacheInvalid() returns (bool)

Visibility

external

State Mutability

view

cacheStale

Source

Details

Signature

cacheStale() returns (bool)

Visibility

external

State Mutability

view

cacheTimestamp

Source

Details

Signature

cacheTimestamp() returns (uint256)

Visibility

external

State Mutability

view

cachedDebt

Source

Details

Signature

cachedDebt() returns (uint256)

Visibility

external

State Mutability

view

cachedSynthDebt

Source

Details

Signature

cachedSynthDebt(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

cachedSynthDebts

Source

Details

Signature

cachedSynthDebts(bytes32[] currencyKeys) returns (uint256[])

Visibility

external

State Mutability

view

debtSnapshotStaleTime

Source

Details

Signature

debtSnapshotStaleTime() returns (uint256)

Visibility

external

State Mutability

view

External Functions

purgeCachedSynthDebt

Source

Details

Signature

purgeCachedSynthDebt(bytes32 currencyKey)

Visibility

external

State Mutability

nonpayable

takeDebtSnapshot

Source

Details

Signature

takeDebtSnapshot()

Visibility

external

State Mutability

nonpayable

updateCachedSynthDebtWithRate

Source

Details

Signature

updateCachedSynthDebtWithRate(bytes32 currencyKey, uint256 currencyRate)

Visibility

external

State Mutability

nonpayable

updateCachedSynthDebts

Source

Details

Signature

updateCachedSynthDebts(bytes32[] currencyKeys)

Visibility

external

State Mutability

nonpayable

updateCachedSynthDebtsWithRates

Source

Details

Signature

updateCachedSynthDebtsWithRates(bytes32[] currencyKeys, uint256[] currencyRates)

Visibility

external

State Mutability

nonpayable

updateDebtCacheValidity

Source

Details

Signature

updateDebtCacheValidity(bool currentlyInvalid)

Visibility

external

State Mutability

nonpayable