[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_resolver", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "name", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "destination", "type": "address" } ], "name": "CacheUpdated", "type": "event", "signature": "0x88a93678a3692f6789d9546fc621bf7234b101ddb7d4fe479455112831b8aa68" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "DebtCacheSnapshotTaken", "type": "event", "signature": "0xc481e742c89630d4b1a5ed3a0fc624c1c41ed463bd00ac26a7e93c71e932126f" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "cachedDebt", "type": "uint256" } ], "name": "DebtCacheUpdated", "type": "event", "signature": "0x294a7c394e53042c7d754779562747d93b41db019dd4b970dd9b531db71be599" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bool", "name": "isInvalid", "type": "bool" } ], "name": "DebtCacheValidityChanged", "type": "event", "signature": "0x8eebec690c34bbf0fe0d5b93e442beaf16bdaf99052569581de2dcb3e31a53a7" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerChanged", "type": "event", "signature": "0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerNominated", "type": "event", "signature": "0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22" }, { "constant": false, "inputs": [], "name": "acceptOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x79ba5097" }, { "constant": true, "inputs": [], "name": "cacheInfo", "outputs": [ { "internalType": "uint256", "name": "debt", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "bool", "name": "isInvalid", "type": "bool" }, { "internalType": "bool", "name": "isStale", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x3a900a2e" }, { "constant": true, "inputs": [], "name": "cacheInvalid", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xa5f27edb" }, { "constant": true, "inputs": [], "name": "cacheStale", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xfc524773" }, { "constant": true, "inputs": [], "name": "cacheTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xd0fffafd" }, { "constant": true, "inputs": [], "name": "cachedDebt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x05393262" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "cachedSynthDebt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x0fb38465" }, { "constant": true, "inputs": [ { "internalType": "bytes32[]", "name": "currencyKeys", "type": "bytes32[]" } ], "name": "cachedSynthDebts", "outputs": [ { "internalType": "uint256[]", "name": "snxIssuedDebts", "type": "uint256[]" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xb13cd785" }, { "constant": true, "inputs": [], "name": "currentDebt", "outputs": [ { "internalType": "uint256", "name": "debt", "type": "uint256" }, { "internalType": "bool", "name": "anyRateIsInvalid", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x759076e5" }, { "constant": true, "inputs": [ { "internalType": "bytes32[]", "name": "currencyKeys", "type": "bytes32[]" } ], "name": "currentSynthDebts", "outputs": [ { "internalType": "uint256[]", "name": "debtValues", "type": "uint256[]" }, { "internalType": "bool", "name": "anyRateIsInvalid", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x6bf7c435" }, { "constant": true, "inputs": [], "name": "debtSnapshotStaleTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xaf5355d8" }, { "constant": true, "inputs": [], "name": "isResolverCached", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x2af64bd3" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "name": "nominateNewOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x1627540c" }, { "constant": true, "inputs": [], "name": "nominatedOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x53a47bb7" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x8da5cb5b" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "purgeCachedSynthDebt", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x8dd5bfbc" }, { "constant": false, "inputs": [], "name": "rebuildCache", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x74185360" }, { "constant": true, "inputs": [], "name": "resolver", "outputs": [ { "internalType": "contract AddressResolver", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x04f3bcec" }, { "constant": true, "inputs": [], "name": "resolverAddressesRequired", "outputs": [ { "internalType": "bytes32[]", "name": "addresses", "type": "bytes32[]" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x899ffef4" }, { "constant": false, "inputs": [], "name": "takeDebtSnapshot", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xe3476cd4" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "currencyRate", "type": "uint256" } ], "name": "updateCachedSynthDebtWithRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xd685743a" }, { "constant": false, "inputs": [ { "internalType": "bytes32[]", "name": "currencyKeys", "type": "bytes32[]" } ], "name": "updateCachedSynthDebts", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xcda218c7" }, { "constant": false, "inputs": [ { "internalType": "bytes32[]", "name": "currencyKeys", "type": "bytes32[]" }, { "internalType": "uint256[]", "name": "currencyRates", "type": "uint256[]" } ], "name": "updateCachedSynthDebtsWithRates", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x17b38db4" }, { "constant": false, "inputs": [ { "internalType": "bool", "name": "currentlyInvalid", "type": "bool" } ], "name": "updateDebtCacheValidity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x04bd11e5" } ]