Skip to content

Instantly share code, notes, and snippets.

@y12studio
y12studio / ymc2.json
Created March 28, 2016 06:34
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": "n
@y12studio
y12studio / yot1.json
Created March 28, 2016 11:21
YOT1 JSON Interface
[ { "constant": true, "inputs": [], "name": "count", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "count" }, { "constant": false, "inputs": [ { "name": "myid", "type": "bytes32", "typeShort": "bytes", "bits": "32", "displayName": "myid", "template": "elements_input_bytes" }, { "name": "result", "type": "string", "typeShort": "string", "bits": "", "displayName": "result", "template": "elements_input_string" }, { "name": "proof", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": "proof", "template": "elements_input_bytes" } ], "name": "__callback", "outputs": [], "type": "function", "displayName": "__callback" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "type": "function", "displayName": "kill" }, { "constant": true, "inputs": [], "name": "ETHUSD", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": " E T H U S D" }, { "constant": fal
@y12studio
y12studio / yot1.sol
Created March 28, 2016 11:22
Y12 Oraclize Testnet 1
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize srl, Thomas Bertani
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@y12studio
y12studio / ymc3.sol
Created March 31, 2016 02:36
Y12 Marriage Contract 3 with GovOracle
// -------------------------------------------
// 政府驗證服務智能婚約 2016
// 在法律許可的範圍內,作者(們)已將此軟體的著作權、相關權利與鄰接權釋出到全球的公眾領域。此軟體之散布不含任何擔保責任。
// 您應該已經連同軟體取得一份CC0的公眾領域貢獻宣告複本,若沒有收到,則請見:http://creativecommons.org/publicdomain/zero/1.0/。
// -------------------------------------------
// Ethereum以太坊智能合約環境說明 https://gist.github.com/y12studio/f142cd9789c7d396d8f7
// 有意願測試簽智能婚約可聯絡 https://github.com/y12studio
// 測試流程參閱 ymc1.sol
// <GOV_ORACLE>
@y12studio
y12studio / ytbc1601.sol
Last active April 5, 2016 14:34
Y12 Testnet Banana Coin 1601
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize srl, Thomas Bertani
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@y12studio
y12studio / hyperledger-fabric-trial.md
Last active October 16, 2017 02:38
Hyperledger Fabric Trial
@y12studio
y12studio / taipower-3vils-chart.md
Last active July 3, 2016 06:28
三里電力圖與Google試算表
@y12studio
y12studio / parity-sync-test.md
Last active March 5, 2017 02:45
ethereum parity sync test
$ parity --pruning fast
2017-03-05 08:04:40  Starting Parity/v1.6.0-unstable-810c71d-20170303/x86_64-linux-gnu/rustc1.15.1
..
2017-03-05 08:04:45  Syncing snapshot 1/89  #0    5/ 7/25 peers     3 MiB db    7 KiB chain  0 bytes queue   10 KiB sync  RPC:  0 conn,  0 req/s,   0 µs