Skip to content

Instantly share code, notes, and snippets.

@tymat
Created March 25, 2016 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tymat/f9006539d1f701f96e09 to your computer and use it in GitHub Desktop.
Save tymat/f9006539d1f701f96e09 to your computer and use it in GitHub Desktop.
JSON ABI interface
[
{
"constant": false,
"inputs": [
{
"name": "_eth",
"type": "uint256"
}
],
"name": "setEthToCents",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "startDate",
"outputs": [
{
"name": "date",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": false,
"inputs": [
],
"name": "claimFounders",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_user",
"type": "address"
}
],
"name": "userInfo",
"outputs": [
{
"name": "centstotal",
"type": "uint256"
},
{
"name": "weitotal",
"type": "uint256"
},
{
"name": "share",
"type": "uint256"
},
{
"name": "badges",
"type": "uint256"
},
{
"name": "claimed",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "getPeriod",
"outputs": [
{
"name": "saleperiod",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "periodTwo",
"outputs": [
{
"name": "date",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "BILLION",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": false,
"inputs": [
],
"name": "claim",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_payment",
"type": "address"
},
{
"name": "_payout",
"type": "address"
}
],
"name": "regProxy",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "ethToCents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_wei",
"type": "uint256"
}
],
"name": "weiToCents",
"outputs": [
{
"name": "centsvalue",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "totalWei",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "WEI_PER_ETH",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "goalReached",
"outputs": [
{
"name": "reached",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "myInfo",
"outputs": [
{
"name": "centstotal",
"type": "uint256"
},
{
"name": "weitotal",
"type": "uint256"
},
{
"name": "share",
"type": "uint256"
},
{
"name": "badges",
"type": "uint256"
},
{
"name": "claimed",
"type": "bool"
}
],
"type": "function"
},
{
"constant": false,
"inputs": [
],
"name": "sendFunds",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "isEnded",
"outputs": [
{
"name": "ended",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_contrib",
"type": "uint256"
},
{
"name": "_total",
"type": "uint256"
}
],
"name": "calcShare",
"outputs": [
{
"name": "share",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_proxy",
"type": "address"
}
],
"name": "getProxy",
"outputs": [
{
"name": "payout",
"type": "address"
},
{
"name": "isproxy",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "periodThree",
"outputs": [
{
"name": "date",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "totalCents",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "endDate",
"outputs": [
{
"name": "date",
"type": "uint256"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
],
"name": "getSaleInfo",
"outputs": [
{
"name": "startsale",
"type": "uint256"
},
{
"name": "two",
"type": "uint256"
},
{
"name": "three",
"type": "uint256"
},
{
"name": "endsale",
"type": "uint256"
},
{
"name": "totalwei",
"type": "uint256"
},
{
"name": "totalcents",
"type": "uint256"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "goal",
"type": "uint256"
},
{
"name": "famount",
"type": "uint256"
},
{
"name": "faddress",
"type": "address"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_a",
"type": "uint256"
},
{
"name": "_c",
"type": "uint256"
}
],
"name": "ppb",
"outputs": [
{
"name": "b",
"type": "uint256"
}
],
"type": "function"
},
{
"inputs": [
{
"name": "_config",
"type": "address"
}
],
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_exchange",
"type": "uint256"
},
{
"indexed": true,
"name": "_rate",
"type": "uint256"
},
{
"indexed": true,
"name": "_cents",
"type": "uint256"
}
],
"name": "Purchase",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_user",
"type": "address"
},
{
"indexed": true,
"name": "_amount",
"type": "uint256"
},
{
"indexed": true,
"name": "_badges",
"type": "uint256"
}
],
"name": "Claim",
"type": "event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment