Skip to content

Instantly share code, notes, and snippets.

@y12studio
Created March 23, 2016 10:06
Show Gist options
  • Select an option

  • Save y12studio/95681f9bfb49b45e439c to your computer and use it in GitHub Desktop.

Select an option

Save y12studio/95681f9bfb49b45e439c to your computer and use it in GitHub Desktop.
YSRP1 JSON Interface
[ { "constant": true, "inputs": [], "name": "seller", "outputs": [ { "name": "", "type": "address", "value": "0x13a9684203635a4f03e9cb30befdc3e0f69e8163", "displayName": "" } ], "type": "function", "displayName": "seller" }, { "constant": false, "inputs": [], "name": "abort", "outputs": [], "type": "function", "displayName": "abort" }, { "constant": true, "inputs": [], "name": "value", "outputs": [ { "name": "", "type": "uint256", "value": "5000000000000000", "displayName": "" } ], "type": "function", "displayName": "value" }, { "constant": true, "inputs": [], "name": "buyer", "outputs": [ { "name": "", "type": "address", "value": "0xdb271e79b114348915b0d7fca557f5e42cc90da8", "displayName": "" } ], "type": "function", "displayName": "buyer" }, { "constant": false, "inputs": [], "name": "confirmReceived", "outputs": [], "type": "function", "displayName": "confirm Received" }, { "constant": true, "inputs": [], "name": "state", "outputs": [ { "name": "", "type": "uint8", "value": "2", "displayName": "" } ], "type": "function", "displayName": "state" }, { "constant": false, "inputs": [], "name": "confirmPurchase", "outputs": [], "type": "function", "displayName": "confirm Purchase" }, { "inputs": [], "type": "constructor" }, { "anonymous": false, "inputs": [], "name": "aborted", "type": "event" }, { "anonymous": false, "inputs": [], "name": "purchaseConfirmed", "type": "event" }, { "anonymous": false, "inputs": [], "name": "itemReceived", "type": "event" } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment