Skip to content

Instantly share code, notes, and snippets.

@y12studio
Created March 22, 2016 08:17
Show Gist options
  • Save y12studio/33167268a8425a3b241e to your computer and use it in GitHub Desktop.
Save y12studio/33167268a8425a3b241e to your computer and use it in GitHub Desktop.
YRK1 JSON Interface
[ { "constant": false, "inputs": [ { "name": "reality_id", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "reality&thinsp;<span class=\"punctuation\">_</span>&thinsp;id", "template": "elements_input_uint" }, { "name": "fact_hash", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "fact&thinsp;<span class=\"punctuation\">_</span>&thinsp;hash", "template": "elements_input_bytes" }, { "name": "ethereum_address", "type": "address", "typeShort": "address", "bits": "", "displayName": "ethereum&thinsp;<span class=\"punctuation\">_</span>&thinsp;address", "template": "elements_input_address" }, { "name": "base_unit", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "base&thinsp;<span class=\"punctuation\">_</span>&thinsp;unit", "template": "elements_input_uint" } ], "name": "setupRealityKey", "outputs": [], "type": "function", "displayName": "setup Reality Key" }, { "constant": true, "inputs": [], "name": "rkResult", "outputs": [ { "name": "", "type": "uint256", "value": "1", "displayName": "" } ], "type": "function", "displayName": "rk Result" }, { "constant": true, "inputs": [], "name": "factHash", "outputs": [ { "name": "", "type": "bytes32", "value": "0xa1c7a300e9b2122b2fb3307a95d32c6a291c33bbb48d01f3a6a6e1f7da4d32e1", "displayName": "" } ], "type": "function", "displayName": "fact Hash" }, { "constant": false, "inputs": [ { "name": "sig_v", "type": "uint8", "typeShort": "uint", "bits": "8", "displayName": "sig&thinsp;<span class=\"punctuation\">_</span>&thinsp;v", "template": "elements_input_uint" }, { "name": "sig_r", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "sig&thinsp;<span class=\"punctuation\">_</span>&thinsp;r", "template": "elements_input_bytes" }, { "name": "sig_s", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "sig&thinsp;<span class=\"punctuation\">_</span>&thinsp;s", "template": "elements_input_bytes" }, { "name": "signed_value", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "signed&thinsp;<span class=\"punctuation\">_</span>&thinsp;value", "template": "elements_input_bytes" } ], "name": "checkRealityKey", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "check Reality Key" }, { "constant": true, "inputs": [], "name": "factAddress", "outputs": [ { "name": "", "type": "address", "value": "0x6fde387af081c37d9ffa762b49d340e6ae213395", "displayName": "" } ], "type": "function", "displayName": "fact Address" }, { "constant": true, "inputs": [], "name": "realityId", "outputs": [ { "name": "", "type": "uint256", "value": "7508", "displayName": "" } ], "type": "function", "displayName": "reality Id" }, { "constant": true, "inputs": [], "name": "baseUnit", "outputs": [ { "name": "", "type": "uint256", "value": "1", "displayName": "" } ], "type": "function", "displayName": "base Unit" }, { "inputs": [], "type": "constructor" } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment