DebtCache
Verified contract
Active on
Ethereum with 2,407 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) |
---|---|---|---|---|---|---|---|
| 14406156 | 3 years ago | | | 0 | 0.068593611 | |
| 14405943 | 3 years ago | | | 0 | 0.064443753 | |
| 14404712 | 3 years ago | | | 0 | 0.069056323 | |
| 14404514 | 3 years ago | | | 0 | 0.15583511 | |
| 14404497 | 3 years ago | | | 0 | 0.026571252 | |
| 14403943 | 3 years ago | | | 0 | 0.040713851 | |
| 14403935 | 3 years ago | | | 0 | 0.0086164071 | |
| 14403000 | 3 years ago | | | 0 | 0.020037052 | |
| 14399783 | 3 years ago | | | 0 | 0.048774773 | |
| 14399769 | 3 years ago | | | 0 | 0.0075810700 |
ABI
ABI objects
Getter at block 21101490 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=150047564158792040298989240, timestamp=1647549190, isInvalid=false, isStale=true)
cacheInvalid() view returns (bool)
false
cacheStale() view returns (bool)
true
cacheTimestamp() view returns (uint256)
1647549190
cachedDebt() view returns (uint256)
150047564158792040298989240
debtSnapshotStaleTime() view returns (uint256)
43800
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]
Read-only
cachedSynthDebt(bytes32 currencyKey) view returns (uint256)
cachedSynthDebts(bytes32[] currencyKeys) view returns (uint256[] snxIssuedDebts)
currentSynthDebts(bytes32[] currencyKeys) view returns (uint256[] debtValues, uint256 excludedDebt, bool anyRateIsInvalid)
excludedIssuedDebts(bytes32[] currencyKeys) view returns (uint256[] excludedDebts)
State-modifying
Events acceptOwnership()
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.