[ { "constant": false, "inputs": [], "name": "exchangeEtherForSNX", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "minimumDepositAmount", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "guaranteedRate", "type": "uint256" } ], "name": "exchangeEtherForSynthsAtRate", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "amount", "type": "uint256" } ], "name": "synthsReceivedForEther", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "synth", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "synthAmount", "type": "uint256" } ], "name": "exchangeSynthsForSynthetix", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_owner", "type": "address" } ], "name": "nominateNewOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_paused", "type": "bool" } ], "name": "setPaused", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "initiationTime", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "exchangeEtherForSynths", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_beneficiary", "type": "address" } ], "name": "setSelfDestructBeneficiary", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "fundsWallet", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "priceStalePeriod", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_time", "type": "uint256" } ], "name": "setPriceStalePeriod", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "terminateSelfDestruct", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_synth", "type": "address" } ], "name": "setSynth", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pricesAreStale", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newEthPrice", "type": "uint256" }, { "name": "newSynthetixPrice", "type": "uint256" }, { "name": "timeSent", "type": "uint256" } ], "name": "updatePrices", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "lastPriceUpdateTime", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSellableDeposits", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "snxProxy", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "nominatedOwner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "synthAmount", "type": "uint256" }, { "name": "guaranteedRate", "type": "uint256" } ], "name": "exchangeSynthsForSynthetixAtRate", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "paused", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_fundsWallet", "type": "address" } ], "name": "setFundsWallet", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "depositStartIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "acceptOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_oracle", "type": "address" } ], "name": "setOracle", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "guaranteedEtherRate", "type": "uint256" }, { "name": "guaranteedSynthetixRate", "type": "uint256" } ], "name": "exchangeEtherForSynthetixAtRate", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "oracle", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "withdrawMyDepositedSynths", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "lastPauseTime", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "selfDestruct", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "amount", "type": "uint256" } ], "name": "synthetixReceivedForSynths", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "SELFDESTRUCT_DELAY", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_amount", "type": "uint256" } ], "name": "setMinimumDepositAmount", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "feePool", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "deposits", "outputs": [ { "name": "user", "type": "address" }, { "name": "amount", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "selfDestructInitiated", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "usdToEthPrice", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "initiateSelfDestruct", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "selfDestructBeneficiary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "smallDeposits", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "amount", "type": "uint256" } ], "name": "synthetixReceivedForEther", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "amount", "type": "uint256" } ], "name": "depositSynths", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "amount", "type": "uint256" } ], "name": "withdrawSynthetix", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "usdToSnxPrice", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ORACLE_FUTURE_LIMIT", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "depositEndIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_snxProxy", "type": "address" } ], "name": "setSynthetix", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "_owner", "type": "address" }, { "name": "_fundsWallet", "type": "address" }, { "name": "_snxProxy", "type": "address" }, { "name": "_synth", "type": "address" }, { "name": "_feePool", "type": "address" }, { "name": "_oracle", "type": "address" }, { "name": "_usdToEthPrice", "type": "uint256" }, { "name": "_usdToSnxPrice", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newFundsWallet", "type": "address" } ], "name": "FundsWalletUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newOracle", "type": "address" } ], "name": "OracleUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newSynthContract", "type": "address" } ], "name": "SynthUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newSNXProxy", "type": "address" } ], "name": "SynthetixUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "priceStalePeriod", "type": "uint256" } ], "name": "PriceStalePeriodUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newEthPrice", "type": "uint256" }, { "indexed": false, "name": "newSynthetixPrice", "type": "uint256" }, { "indexed": false, "name": "timeSent", "type": "uint256" } ], "name": "PricesUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "fromCurrency", "type": "string" }, { "indexed": false, "name": "fromAmount", "type": "uint256" }, { "indexed": false, "name": "toCurrency", "type": "string" }, { "indexed": false, "name": "toAmount", "type": "uint256" } ], "name": "Exchange", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "SynthWithdrawal", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "user", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": true, "name": "depositIndex", "type": "uint256" } ], "name": "SynthDeposit", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "user", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": true, "name": "depositIndex", "type": "uint256" } ], "name": "SynthDepositRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "user", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": false, "name": "minimum", "type": "uint256" } ], "name": "SynthDepositNotAccepted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "MinimumDepositAmountUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "receiver", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "NonPayableContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "fromAddress", "type": "address" }, { "indexed": true, "name": "toAddress", "type": "address" }, { "indexed": false, "name": "fromETHAmount", "type": "uint256" }, { "indexed": false, "name": "toAmount", "type": "uint256" }, { "indexed": true, "name": "depositIndex", "type": "uint256" } ], "name": "ClearedDeposit", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "isPaused", "type": "bool" } ], "name": "PauseChanged", "type": "event" }, { "anonymous": false, "inputs": [], "name": "SelfDestructTerminated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "beneficiary", "type": "address" } ], "name": "SelfDestructed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "selfDestructDelay", "type": "uint256" } ], "name": "SelfDestructInitiated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newBeneficiary", "type": "address" } ], "name": "SelfDestructBeneficiaryUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newOwner", "type": "address" } ], "name": "OwnerNominated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "oldOwner", "type": "address" }, { "indexed": false, "name": "newOwner", "type": "address" } ], "name": "OwnerChanged", "type": "event" } ]