RealtimeDebtCache¶
Description¶
Source: contracts/RealtimeDebtCache.sol
Constructor¶
constructor
¶
Details
Signature
constructor(address _owner, address _resolver)
Visibility
public
State Mutability
undefined
External Functions¶
cacheInfo
¶
Details
Signature
cacheInfo() view returns (uint256 debt, uint256 timestamp, bool isInvalid, bool isStale)
Visibility
external
State Mutability
undefined
cacheInvalid
¶
Details
Signature
cacheInvalid() view returns (bool)
Visibility
external
State Mutability
undefined
cacheStale
¶
Details
Signature
cacheStale() view returns (bool)
Visibility
external
State Mutability
undefined
cacheTimestamp
¶
Details
Signature
cacheTimestamp() view returns (uint256)
Visibility
external
State Mutability
undefined
cachedDebt
¶
Details
Signature
cachedDebt() view returns (uint256)
Visibility
external
State Mutability
undefined
cachedSynthDebt
¶
Details
Signature
cachedSynthDebt(bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
undefined
cachedSynthDebts
¶
Details
Signature
cachedSynthDebts(bytes32[] currencyKeys) view returns (uint256[] debtValues)
Visibility
external
State Mutability
undefined
debtSnapshotStaleTime
¶
Details
Signature
debtSnapshotStaleTime() view returns (uint256)
Visibility
external
State Mutability
undefined
purgeCachedSynthDebt
¶
Details
Signature
purgeCachedSynthDebt(bytes32 currencyKey)
Visibility
external
State Mutability
undefined
takeDebtSnapshot
¶
Details
Signature
takeDebtSnapshot()
Visibility
external
State Mutability
undefined
updateCachedSynthDebtWithRate
¶
Details
Signature
updateCachedSynthDebtWithRate(bytes32 currencyKey, uint256 currencyRate)
Visibility
external
State Mutability
undefined
updateCachedSynthDebts
¶
Details
Signature
updateCachedSynthDebts(bytes32[] currencyKeys)
Visibility
external
State Mutability
undefined
updateCachedSynthDebtsWithRates
¶
Details
Signature
updateCachedSynthDebtsWithRates(bytes32[] currencyKeys, uint256[] currencyRates)
Visibility
external
State Mutability
undefined
updateDebtCacheValidity
¶
Details
Signature
updateDebtCacheValidity(bool currentlyInvalid)
Visibility
external
State Mutability
undefined