Skip to content

Instantly share code, notes, and snippets.

@tymat
Last active April 26, 2016 19:55
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/11887bc55c6670c92902f46a874cd6fd to your computer and use it in GitHub Desktop.
Save tymat/11887bc55c6670c92902f46a874cd6fd to your computer and use it in GitHub Desktop.
DigixDAO Tokens and Badges - Simple

Main Net

Contract Address
Crowdsale 0xf0160428a8552ac9bb7e050d90eeade4ddd52843
Badge 0x54bda709fed875224eae569bb6817d96ef7ed9ad
Token 0xe0b7927c4af23765cb51314a0e0521a9645f0e2a

Morden Testnet

Contract Address
Crowdsale 0x175298fd52167b93c032c312284f9d3af9f2f4ff
Badge 0x40cd4bd518f130eed030693d933b5e127dcd046d
Token 0x3c6f5633b30aa3817fa50b17e5bd30fb49bddd95
[
{
"constant":false,
"inputs":[
{
"name":"_spender",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"totalSupply",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_from",
"type":"address"
},
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"name":"balance",
"type":"uint256"
}
],
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
},
{
"name":"_spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"name":"remaining",
"type":"uint256"
}
],
"type":"function"
},
{
"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"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_recipient",
"type":"address"
},
{
"indexed":true,
"name":"_amount",
"type":"uint256"
}
],
"name":"Mint",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_owner",
"type":"address"
},
{
"indexed":true,
"name":"_spender",
"type":"address"
},
{
"indexed":false,
"name":"_value",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
}
]
[
{
"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": false,
"inputs": [
],
"name": "claim",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"type": "function"
},
{
"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"
}
]
[
{
"constant":false,
"inputs":[
{
"name":"_spender",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"totalSupply",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_from",
"type":"address"
},
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"badgeLedger",
"outputs":[
{
"name":"",
"type":"address"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"name":"balance",
"type":"uint256"
}
],
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
},
{
"name":"_spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"name":"remaining",
"type":"uint256"
}
],
"type":"function"
},
{
"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"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_recipient",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
}
],
"name":"Mint",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_owner",
"type":"address"
},
{
"indexed":true,
"name":"_spender",
"type":"address"
},
{
"indexed":false,
"name":"_value",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment