Skip to content

Instantly share code, notes, and snippets.

@y12studio
Created March 28, 2016 06:34
Show Gist options
  • Save y12studio/13063e13d7390292a0df to your computer and use it in GitHub Desktop.
Save y12studio/13063e13d7390292a0df to your computer and use it in GitHub Desktop.
YMC2 JSON Interface
[ { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string", "value": "YMC2", "displayName": "" } ], "type": "function", "displayName": "name" }, { "constant": true, "inputs": [], "name": "giftTime", "outputs": [ { "name": "", "type": "uint256", "value": "600", "displayName": "" } ], "type": "function", "displayName": "gift Time" }, { "constant": true, "inputs": [], "name": "giftValue", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "gift Value" }, { "constant": false, "inputs": [], "name": "doUsPartByOne", "outputs": [], "type": "function", "displayName": "do Us Part By One" }, { "constant": true, "inputs": [], "name": "mValue", "outputs": [ { "name": "", "type": "uint256", "value": "100000000000000000", "displayName": "" } ], "type": "function", "displayName": "m Value" }, { "constant": false, "inputs": [ { "name": "newSellPrice", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "new Sell Price", "template": "elements_input_uint" }, { "name": "newBuyPrice", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "new Buy Price", "template": "elements_input_uint" } ], "name": "setGiftPrices", "outputs": [], "type": "function", "displayName": "set Gift Prices" }, { "constant": false, "inputs": [], "name": "devOnlyClose", "outputs": [], "type": "function", "displayName": "dev Only Close" }, { "constant": false, "inputs": [ { "name": "id_hash", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "id&thinsp;<span class=\"punctuation\">_</span>&thinsp;hash", "template": "elements_input_bytes" } ], "name": "willYouMarryMe", "outputs": [], "type": "function", "displayName": "will You Marry Me" }, { "constant": false, "inputs": [ { "name": "_address", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;address", "template": "elements_input_address" }, { "name": "_time", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;time", "template": "elements_input_uint" } ], "name": "setupThirdPartyDao", "outputs": [], "type": "function", "displayName": "setup Third Party Dao" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "name": "", "type": "uint8", "value": "0", "displayName": "" } ], "type": "function", "displayName": "decimals" }, { "constant": false, "inputs": [], "name": "proposalSorry", "outputs": [], "type": "function", "displayName": "proposal Sorry" }, { "constant": false, "inputs": [], "name": "buyGift", "outputs": [], "type": "function", "displayName": "buy Gift" }, { "constant": true, "inputs": [], "name": "mred", "outputs": [ { "name": "", "type": "address", "value": "0x27c1a73d6557f501286ab895f1ff9f22281abe72", "displayName": "" } ], "type": "function", "displayName": "mred" }, { "constant": true, "inputs": [], "name": "sellPrice", "outputs": [ { "name": "", "type": "uint256", "value": "1000000000000000", "displayName": "" } ], "type": "function", "displayName": "sell Price" }, { "constant": true, "inputs": [], "name": "mredHash", "outputs": [ { "name": "", "type": "bytes32", "value": "0xab0612ba590fc1cf8aad486ea9d66fea806d1c62c4b5cb3b5867c7d3f5a8f6f8", "displayName": "" } ], "type": "function", "displayName": "mred Hash" }, { "constant": true, "inputs": [], "name": "thirdStart", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "third Start" }, { "constant": false, "inputs": [], "name": "doUsPartByThird", "outputs": [], "type": "function", "displayName": "do Us Part By Third" }, { "constant": true, "inputs": [], "name": "mblue", "outputs": [ { "name": "", "type": "address", "value": "0xf4ea05f8d8eda7a2a151c14a12ad999d0b941f1b", "displayName": "" } ], "type": "function", "displayName": "mblue" }, { "constant": true, "inputs": [ { "name": "", "type": "address", "typeShort": "address", "bits": "", "displayName": "", "template": "elements_input_address" } ], "name": "balanceOf", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "balance Of" }, { "constant": true, "inputs": [], "name": "giftStart", "outputs": [ { "name": "", "type": "uint256", "value": "1459145456", "displayName": "" } ], "type": "function", "displayName": "gift Start" }, { "constant": true, "inputs": [], "name": "buyPrice", "outputs": [ { "name": "", "type": "uint256", "value": "1000000000000000", "displayName": "" } ], "type": "function", "displayName": "buy Price" }, { "constant": false, "inputs": [], "name": "doUsPartByPeace", "outputs": [], "type": "function", "displayName": "do Us Part By Peace" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "name": "", "type": "string", "value": "YMC2", "displayName": "" } ], "type": "function", "displayName": "symbol" }, { "constant": false, "inputs": [ { "name": "amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "amount", "template": "elements_input_uint" } ], "name": "sellGift", "outputs": [], "type": "function", "displayName": "sell Gift" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;value", "template": "elements_input_uint" } ], "name": "transfer", "outputs": [], "type": "function", "displayName": "transfer" }, { "constant": true, "inputs": [], "name": "mblueHash", "outputs": [ { "name": "", "type": "bytes32", "value": "0xe76197b6a184972b64c9b460129f9f5754afb040e6977a768191715fb2328aa9", "displayName": "" } ], "type": "function", "displayName": "mblue Hash" }, { "constant": true, "inputs": [], "name": "god", "outputs": [ { "name": "", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "" } ], "type": "function", "displayName": "god" }, { "constant": true, "inputs": [], "name": "state", "outputs": [ { "name": "", "type": "uint8", "value": "2", "displayName": "" } ], "type": "function", "displayName": "state" }, { "constant": true, "inputs": [], "name": "marriageHash", "outputs": [ { "name": "", "type": "bytes32", "value": "0x1e7dc6d6c16565406afd121a89164b990879f5f47695e03b9c3fd0f07395a4ca", "displayName": "" } ], "type": "function", "displayName": "marriage Hash" }, { "constant": true, "inputs": [], "name": "thirdPartyDao", "outputs": [ { "name": "", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "" } ], "type": "function", "displayName": "third Party Dao" }, { "constant": false, "inputs": [ { "name": "mintedAmount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "minted Amount", "template": "elements_input_uint" } ], "name": "devOnlyMintToken", "outputs": [], "type": "function", "displayName": "dev Only Mint Token" }, { "constant": true, "inputs": [], "name": "thirdTime", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "third Time" }, { "constant": true, "inputs": [], "name": "giftCount", "outputs": [ { "name": "", "type": "uint32", "value": "0", "displayName": "" } ], "type": "function", "displayName": "gift Count" }, { "constant": false, "inputs": [ { "name": "id_hash", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "id&thinsp;<span class=\"punctuation\">_</span>&thinsp;hash", "template": "elements_input_bytes" }, { "name": "marriage_fact_hash", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "marriage&thinsp;<span class=\"punctuation\">_</span>&thinsp;fact&thinsp;<span class=\"punctuation\">_</span>&thinsp;hash", "template": "elements_input_bytes" }, { "name": "gift_time", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "gift&thinsp;<span class=\"punctuation\">_</span>&thinsp;time", "template": "elements_input_uint" } ], "name": "proposalYes", "outputs": [], "type": "function", "displayName": "proposal Yes" }, { "inputs": [ { "name": "tokenName", "type": "string", "typeShort": "string", "bits": "", "displayName": "token Name", "template": "elements_input_string", "value": "YMC2" }, { "name": "decimalUnits", "type": "uint8", "typeShort": "uint", "bits": "8", "displayName": "decimal Units", "template": "elements_input_uint", "value": "0" }, { "name": "tokenSymbol", "type": "string", "typeShort": "string", "bits": "", "displayName": "token Symbol", "template": "elements_input_string", "value": "YMC2" } ], "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "from", "type": "address" }, { "indexed": true, "name": "to", "type": "address" }, { "indexed": false, "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment