DebtCache

Verified contract

Active on Ethereum with 1,414 txns
Deployed by via 0x2f5b569e at 14405863
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "DebtCache"

0xdcf422bda410ab6c9326aff1c75e3be94cc2425c3e999bc5448726c4caa57027
0x5e342e31859f944c63e77bb0b829e3341f902f2b5fa03855c85851575f17825b
0xa625c7fb1078cd4d48f4b7cbe5340f02fb7300847a9f502b98b2c79e3630af09
0x102738eaad1ce4a5688a3e74e1713347f9ba2c40b2089460fe7954ddcb82f555
0xaf10059b70ee303e34797a430f64f102410925b451a714cc27782be72a59e61f
0xe4750b1f8878a32e958fe08b16441f076d4184b47b6264f7102f487cb330b1c7
0x835cc9e3112805dd8e40f9d3780cdee99e506b3686219da973c42b8fbce09c4b
0x65ceb4c6935870159b9a05bc81f1d8e8e7f0f22a2f99d7ab0b00c8c369977d39
0x1d98ecc37f47d09bc0ecf6557792a07f37a895998f8516923e51b8809ae81478
0x55df639163d3e7aa54e91a007fefc10c4885937781df4c6e2eeb74ee63960a2a

Functions
Getter at block 21289021
CONTRACT_NAME(view returns (bytes32)
0x4465627443616368650000000000000000000000000000000000000000000000
cacheInfo(view returns (uint256 debtuint256 timestampbool isInvalidbool isStale)
(debt=89707577733871874289945604, timestamp=1711717883, isInvalid=false, isStale=true)
cacheInvalid(view returns (bool)
false
cacheStale(view returns (bool)
true
cacheTimestamp(view returns (uint256)
1711717883
cachedDebt(view returns (uint256)
89707577733871874289945604
 
currentDebt(view returns (uint256 debtbool anyRateIsInvalid)
debtSnapshotStaleTime(view returns (uint256)
43800
isInitialized(view returns (bool)
true
isResolverCached(view returns (bool)
false
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xeb3107117fead7de89cd14d463d340a2e6917769
resolver(view returns (address)
0x4e3b31eb0e5cb73641ee1e65e7dcefe520ba3ef2
resolverAddressesRequired(view returns (bytes32[] addresses)
[0x466c657869626c6553746f726167650000000000000000000000000000000000, 0x4973737565720000000000000000000000000000000000000000000000000000, 0x45786368616e6765720000000000000000000000000000000000000000000000, 0x45786368616e6765526174657300000000000000000000000000000000000000, 0x53797374656d5374617475730000000000000000000000000000000000000000, 0x436f6c6c61746572616c4d616e61676572000000000000000000000000000000, 0x57726170706572466163746f7279000000000000000000000000000000000000, 0x4574686572577261707065720000000000000000000000000000000000000000, 0x467574757265734d61726b65744d616e61676572000000000000000000000000]
 
totalNonSnxBackedDebt(view returns (uint256 excludedDebtbool isInvalid)
Read-only
cachedSynthDebt(bytes32 currencyKeyview returns (uint256)
cachedSynthDebts(bytes32[] currencyKeysview returns (uint256[] snxIssuedDebts)
currentSynthDebts(bytes32[] currencyKeysview returns (uint256[] debtValuesuint256 futuresDebtuint256 excludedDebtbool anyRateIsInvalid)
excludedIssuedDebts(bytes32[] currencyKeysview returns (uint256[] excludedDebts)
State-modifying
acceptOwnership(
importExcludedIssuedDebts(address prevDebtCacheaddress prevIssuer
nominateNewOwner(address _owner
purgeCachedSynthDebt(bytes32 currencyKey
rebuildCache(
recordExcludedDebtChange(bytes32 currencyKeyint256 delta
takeDebtSnapshot(
updateCachedSynthDebtWithRate(bytes32 currencyKeyuint256 currencyRate
updateCachedSynthDebts(bytes32[] currencyKeys
updateCachedSynthDebtsWithRates(bytes32[] currencyKeysuint256[] currencyRates
updateCachedsUSDDebt(int256 amount
updateDebtCacheValidity(bool currentlyInvalid
Events
CacheUpdated(bytes32 nameaddress destination
DebtCacheSnapshotTaken(uint256 timestamp
DebtCacheUpdated(uint256 cachedDebt
DebtCacheValidityChanged(bool indexed isInvalid
OwnerChanged(address oldOwneraddress newOwner
OwnerNominated(address newOwner
Constructor
constructor(address _owneraddress _resolver
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.