DebtCache

Verified contract

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

No balances found for "DebtCache"

0xedc293b6add19c628e7605318244a82347d0572d6c7a000b6f42832a01387861
0x774fec4f084f68be975bdc1bd637707e917f2b459fa8a61f008155c9ea045f87
0x9424ca2b999e0f72345a83ce46bfc91141c7ced7033daca9b761116636b1eef9
0x981fd81b519677728d4f26c7b93d40102d22875270246947a001b67000ed804c
0xf7f7e77c965524ac3d362ac88e4662d642d98a2a2fb7e8be20209cf4b618a3c1
0x922e92e7fdda84c6ae5ba44ffd776793339017ae9beab2d17fee460bccb4f591
0xf3404bdd9bc86ea6c396662fb4fc5b7118e4f8e7265b2b6ac8d67723a3b3ce22
0x30afedb794c84e7873bf10d61517a3ccc9892924be3076f0e701a6a84e706501
0x0424507b395b4d03d0099fab30b13d80604444643e66afec9b6b5e8fcae52cc7
0xbb98e2a537c3bee62286d779f2c0323af3de54d2c6ef675a24bb5fe88044f462

Functions
Getter at block 21101490
CONTRACT_NAME(view returns (bytes32)
0x4465627443616368650000000000000000000000000000000000000000000000
cacheInfo(view returns (uint256 debtuint256 timestampbool isInvalidbool 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
 
currentDebt(view returns (uint256 debtbool anyRateIsInvalid)
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]
 
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 excludedDebtbool anyRateIsInvalid)
excludedIssuedDebts(bytes32[] currencyKeysview returns (uint256[] excludedDebts)
State-modifying
acceptOwnership(
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.