[ { "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": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "src", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "dest", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amountReceived", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "exchangeFeeRate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "roundIdForSrc", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "roundIdForDest", "type": "uint256" } ], "name": "ExchangeEntryAppended", "type": "event", "signature": "0x62e40d554c7abcdd31074960d8347a2225daeb04d93bc748f049ba2ce9462398" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "src", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "dest", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "reclaim", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "rebate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "srcRoundIdAtPeriodEnd", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "destRoundIdAtPeriodEnd", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "exchangeTimestamp", "type": "uint256" } ], "name": "ExchangeEntrySettled", "type": "event", "signature": "0x8e3ad1f68bec55de3b6fa12ae2674a2a683a17c918a4cbf5157ac5d9ddc6e940" }, { "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": true, "inputs": [], "name": "CIRCUIT_BREAKER_SUSPENSION_REASON", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x3fa70f45" }, { "constant": true, "inputs": [], "name": "MAX_ADDRESSES_FROM_RESOLVER", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe3235c91" }, { "constant": false, "inputs": [], "name": "acceptOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x79ba5097" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "refunded", "type": "uint256" } ], "name": "calculateAmountAfterSettlement", "outputs": [ { "internalType": "uint256", "name": "amountAfterSettlement", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x4c268fc8" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "sourceAmount", "type": "uint256" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" }, { "internalType": "address", "name": "destinationAddress", "type": "address" } ], "name": "exchange", "outputs": [ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x0a1e187d" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "exchangeForAddress", "type": "address" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "sourceAmount", "type": "uint256" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" } ], "name": "exchangeOnBehalf", "outputs": [ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x6a1c4758" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "exchangeForAddress", "type": "address" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "sourceAmount", "type": "uint256" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" }, { "internalType": "address", "name": "originator", "type": "address" }, { "internalType": "bytes32", "name": "trackingCode", "type": "bytes32" } ], "name": "exchangeOnBehalfWithTracking", "outputs": [ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xdfffca76" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "sourceAmount", "type": "uint256" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" }, { "internalType": "address", "name": "destinationAddress", "type": "address" }, { "internalType": "address", "name": "originator", "type": "address" }, { "internalType": "bytes32", "name": "trackingCode", "type": "bytes32" } ], "name": "exchangeWithTracking", "outputs": [ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x86baa45c" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" } ], "name": "feeRateForExchange", "outputs": [ { "internalType": "uint256", "name": "exchangeFeeRate", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x1a5c6095" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "sourceAmount", "type": "uint256" }, { "internalType": "bytes32", "name": "sourceCurrencyKey", "type": "bytes32" }, { "internalType": "bytes32", "name": "destinationCurrencyKey", "type": "bytes32" } ], "name": "getAmountsForExchange", "outputs": [ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "uint256", "name": "exchangeFeeRate", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xf450aa34" }, { "constant": true, "inputs": [], "name": "getResolverAddressesRequired", "outputs": [ { "internalType": "bytes32[24]", "name": "addressesRequired", "type": "bytes32[24]" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xab49848c" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "hasWaitingPeriodOrSettlementOwing", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xd6f32e06" }, { "constant": true, "inputs": [ { "internalType": "contract AddressResolver", "name": "_resolver", "type": "address" } ], "name": "isResolverCached", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x631e1444" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "isSynthRateInvalid", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x57af302c" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "lastExchangeRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x7dd1a57a" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "maxSecsLeftInWaitingPeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x059c29ec" }, { "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": true, "inputs": [], "name": "priceDeviationThresholdFactor", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x372a395a" }, { "constant": true, "inputs": [], "name": "resolver", "outputs": [ { "internalType": "contract AddressResolver", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x04f3bcec" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "resolverAddressesRequired", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xc6c9d828" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" }, { "internalType": "uint256", "name": "rate", "type": "uint256" } ], "name": "setLastExchangeRateForSynth", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xce096940" }, { "constant": false, "inputs": [ { "internalType": "contract AddressResolver", "name": "_resolver", "type": "address" } ], "name": "setResolverAndSyncCache", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x3be99e6f" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "settle", "outputs": [ { "internalType": "uint256", "name": "reclaimed", "type": "uint256" }, { "internalType": "uint256", "name": "refunded", "type": "uint256" }, { "internalType": "uint256", "name": "numEntriesSettled", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x1b16802c" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "settlementOwing", "outputs": [ { "internalType": "uint256", "name": "reclaimAmount", "type": "uint256" }, { "internalType": "uint256", "name": "rebateAmount", "type": "uint256" }, { "internalType": "uint256", "name": "numEntries", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x19d5c665" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currencyKey", "type": "bytes32" } ], "name": "suspendSynthWithInvalidRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x0b9e31c9" }, { "constant": true, "inputs": [], "name": "tradingRewardsEnabled", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xc193f0d8" }, { "constant": true, "inputs": [], "name": "waitingPeriodSecs", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x89257117" } ]