[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_associatedContract", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "associatedContract", "type": "address" } ], "name": "AssociatedContractUpdated", "type": "event", "signature": "0x73f20cff579e8a4086fa607db83867595f1b6a798e718c0bfa0b94a404128e03" }, { "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": false, "inputs": [ { "internalType": "bytes32", "name": "currency", "type": "bytes32" } ], "name": "addShortCurrency", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xed039154" }, { "constant": true, "inputs": [], "name": "associatedContract", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xaefc4ccb" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "borrowRates", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xa29fe7b8" }, { "constant": true, "inputs": [], "name": "borrowRatesLastUpdated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x22e07b7a" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "decrementLongs", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xe50a31b3" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "decrementShorts", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x5246f2b9" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getRateAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xb52e0dc8" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getRatesAndTime", "outputs": [ { "internalType": "uint256", "name": "entryRate", "type": "uint256" }, { "internalType": "uint256", "name": "lastRate", "type": "uint256" }, { "internalType": "uint256", "name": "lastUpdated", "type": "uint256" }, { "internalType": "uint256", "name": "newIndex", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x03f048b0" }, { "constant": true, "inputs": [], "name": "getRatesLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x381c5cb5" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "currency", "type": "bytes32" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getShortRatesAndTime", "outputs": [ { "internalType": "uint256", "name": "entryRate", "type": "uint256" }, { "internalType": "uint256", "name": "lastRate", "type": "uint256" }, { "internalType": "uint256", "name": "lastUpdated", "type": "uint256" }, { "internalType": "uint256", "name": "newIndex", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xaf07aa9d" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "currency", "type": "bytes32" } ], "name": "getShortRatesLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xa0356f6e" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "incrementLongs", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xeb94bbde" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "incrementShorts", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xe31f27c1" }, { "constant": false, "inputs": [], "name": "incrementTotalLoans", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x8c582503" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" } ], "name": "long", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xd2f00475" }, { "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": "ratesLastUpdated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x781dc0e2" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currency", "type": "bytes32" } ], "name": "removeShortCurrency", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x6431e0bd" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_associatedContract", "type": "address" } ], "name": "setAssociatedContract", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x52f445ca" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "synth", "type": "bytes32" } ], "name": "short", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe32261fe" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "shortRates", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x173fcb41" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "shortRatesLastUpdated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x55374799" }, { "constant": true, "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "totalIssuedSynths", "outputs": [ { "internalType": "uint256", "name": "long", "type": "uint256" }, { "internalType": "uint256", "name": "short", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x83d625d4" }, { "constant": true, "inputs": [], "name": "totalLoans", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xcc952b57" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "rate", "type": "uint256" } ], "name": "updateBorrowRates", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xf53037b6" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "currency", "type": "bytes32" }, { "internalType": "uint256", "name": "rate", "type": "uint256" } ], "name": "updateShortRates", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x24620639" } ]