@safient/contracts
Version:
JavaScript SDK to manage and interact with the safe claims on Safient protocol.
2 lines (1 loc) • 4.33 kB
JSON
{ "abi": [{ "constant": false, "inputs": [{ "name": "_disputeID", "type": "uint256" }, { "name": "_appealCost", "type": "uint256" }], "name": "changeAppealFee", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "name": "_disputeID", "type": "uint256" }], "name": "disputeStatus", "outputs": [{ "name": "status", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "name": "_disputeID", "type": "uint256" }], "name": "currentRuling", "outputs": [{ "name": "ruling", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_disputeID", "type": "uint256" }, { "name": "_extraData", "type": "bytes" }], "name": "appeal", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [{ "name": "", "type": "uint256" }], "name": "disputes", "outputs": [{ "name": "arbitrated", "type": "address" }, { "name": "choices", "type": "uint256" }, { "name": "fees", "type": "uint256" }, { "name": "ruling", "type": "uint256" }, { "name": "status", "type": "uint8" }, { "name": "appealCost", "type": "uint256" }, { "name": "appealPeriodStart", "type": "uint256" }, { "name": "appealPeriodEnd", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_disputeID", "type": "uint256" }, { "name": "_ruling", "type": "uint256" }, { "name": "_appealCost", "type": "uint256" }, { "name": "_timeToAppeal", "type": "uint256" }], "name": "giveAppealableRuling", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "name": "_disputeID", "type": "uint256" }], "name": "executeRuling", "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": "_disputeID", "type": "uint256" }], "name": "appealPeriod", "outputs": [{ "name": "start", "type": "uint256" }, { "name": "end", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_choices", "type": "uint256" }, { "name": "_extraData", "type": "bytes" }], "name": "createDispute", "outputs": [{ "name": "disputeID", "type": "uint256" }], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [{ "name": "_disputeID", "type": "uint256" }, { "name": "_ruling", "type": "uint256" }], "name": "giveRuling", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "name": "_disputeID", "type": "uint256" }, { "name": "_extraData", "type": "bytes" }], "name": "appealCost", "outputs": [{ "name": "fee", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "name": "_extraData", "type": "bytes" }], "name": "arbitrationCost", "outputs": [{ "name": "fee", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_arbitrationPrice", "type": "uint256" }], "name": "setArbitrationPrice", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "name": "_arbitrationPrice", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "_disputeID", "type": "uint256" }, { "indexed": true, "name": "_arbitrable", "type": "address" }], "name": "DisputeCreation", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "_disputeID", "type": "uint256" }, { "indexed": true, "name": "_arbitrable", "type": "address" }], "name": "AppealPossible", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "_disputeID", "type": "uint256" }, { "indexed": true, "name": "_arbitrable", "type": "address" }], "name": "AppealDecision", "type": "event" }] }