DebtCache
Verified contract
Active on
Ethereum with 1,414 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x4e3b…3ef2
Balances ($0.00)
No balances found for "DebtCache"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19539874 | 8 months ago | | | 0 | 0.024996872 | |
| 19426506 | 9 months ago | | | 0 | 0.060727625 | |
| 18413902 | a year ago | | | 0 | 0.033970454 | |
| 17466675 | a year ago | | | 0 | 0.015819377 | |
| 17463113 | a year ago | | | 0 | 0.017883679 | |
| 17459540 | a year ago | | | 0 | 0.016406913 | |
| 17455980 | a year ago | | | 0 | 0.016969047 | |
| 17452413 | a year ago | | | 0 | 0.019646005 | |
| 17448848 | a year ago | | | 0 | 0.019604966 | |
| 17445285 | a year ago | | | 0 | 0.019115511 |
ABI
ABI objects
Getter at block 21289021 currentDebt() view returns (uint256 debt, bool anyRateIsInvalid) totalNonSnxBackedDebt() view returns (uint256 excludedDebt, bool isInvalid)
CONTRACT_NAME() view returns (bytes32)
0x4465627443616368650000000000000000000000000000000000000000000000
cacheInfo() view returns (uint256 debt, uint256 timestamp, bool isInvalid, bool 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
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]
Read-only
cachedSynthDebt(bytes32 currencyKey) view returns (uint256)
cachedSynthDebts(bytes32[] currencyKeys) view returns (uint256[] snxIssuedDebts)
currentSynthDebts(bytes32[] currencyKeys) view returns (uint256[] debtValues, uint256 futuresDebt, uint256 excludedDebt, bool anyRateIsInvalid)
excludedIssuedDebts(bytes32[] currencyKeys) view returns (uint256[] excludedDebts)
State-modifying
Events acceptOwnership()
importExcludedIssuedDebts(address prevDebtCache, address prevIssuer)
nominateNewOwner(address _owner)
purgeCachedSynthDebt(bytes32 currencyKey)
rebuildCache()
recordExcludedDebtChange(bytes32 currencyKey, int256 delta)
takeDebtSnapshot()
updateCachedSynthDebtWithRate(bytes32 currencyKey, uint256 currencyRate)
updateCachedSynthDebts(bytes32[] currencyKeys)
updateCachedSynthDebtsWithRates(bytes32[] currencyKeys, uint256[] currencyRates)
updateCachedsUSDDebt(int256 amount)
updateDebtCacheValidity(bool currentlyInvalid)
CacheUpdated(bytes32 name, address destination)
DebtCacheSnapshotTaken(uint256 timestamp)
DebtCacheUpdated(uint256 cachedDebt)
DebtCacheValidityChanged(bool indexed isInvalid)
OwnerChanged(address oldOwner, address newOwner)
OwnerNominated(address newOwner)
constructor(address _owner, address _resolver)
This contract contains no fallback and receive objects.
This contract contains no error objects.