Updated coin.js abi

release/1.0.1
obscuren 10 years ago
parent ce239333d5
commit 6a7b0ef904
  1. 49
      cmd/mist/assets/examples/coin.js

@ -1,64 +1,65 @@
var contract = web3.eth.contractFromAbi([ var walletABI = [
{ {
"name":"confirm",
"type":"function",
"constant":false, "constant":false,
"inputs":[ "inputs":[
{"name":"_h","type":"hash256"} {"name":"_h","type":"hash256"}
], ],
"name":"confirm", "outputs":[]
"outputs":[],
"type":"function"
},{ },{
"name":"execute",
"constant":false, "constant":false,
"type":"function",
"inputs":[ "inputs":[
{"name":_to,"type":"address"}, {"name":"_to","type":"address"},
{"name":"_value","type":"uint256"}, {"name":"_value","type":"uint256"},
{"name":"_data","type":"bytes"} {"name":"_data","type":"bytes"}
], ],
"name":"execute",
"outputs":[ "outputs":[
{"name":"_r","type":"hash256"} {"name":"_r","type":"hash256"}
], ]
"type":"function"
},{ },{
"name":"kill",
"type":"function",
"constant":false, "constant":false,
"inputs":[ "inputs":[
{"name":"_to","type":"address"} {"name":"_to","type":"address"}
],"name":"kill", ],
"outputs":[], "outputs":[]
"type":"function"
},{ },{
"name":"changeOwner",
"type":"function",
"constant":false, "constant":false,
"inputs":[ "inputs":[
{"name":"_from","type":"address"}, {"name":"_from","type":"address"},
{"name":"_to","type":"address"} {"name":"_to","type":"address"}
], ],
"name":"changeOwner", "outputs":[]
"outputs":[],
"type":"function"
},{ },{
"name":"CashIn",
"type":"event",
"inputs":[ "inputs":[
{"indexed":false,"name":"value","type":"uint256"} {"indexed":false,"name":"value","type":"uint256"}
], ]
"name":"CashIn",
"type":"event"
},{ },{
"name":"SingleTransact",
"type":"event",
"inputs":[ "inputs":[
{"indexed":true,"name":"out","type":"string32"}, {"indexed":true,"name":"out","type":"string32"},
{"indexed":false,"name":"owner","type":"address"}, {"indexed":false,"name":"owner","type":"address"},
{"indexed":false,"name":"value","type":"uint256"}, {"indexed":false,"name":"value","type":"uint256"},
{"indexed":false,"name":"to","type":"address"} {"indexed":false,"name":"to","type":"address"}
], ]
"name":"SingleTransact",
"type":"event"
},{ },{
"name":"MultiTransact",
"type":"event",
"inputs":[ "inputs":[
{"indexed":true,"name":"out","type":"string32"}, {"indexed":true,"name":"out","type":"string32"},
{"indexed":false,"name":"owner","type":"address"}, {"indexed":false,"name":"owner","type":"address"},
{"indexed":false,"name":"operation","type":"hash256"}, {"indexed":false,"name":"operation","type":"hash256"},
{"indexed":false,"name":"value","type":"uint256"}, {"indexed":false,"name":"value","type":"uint256"},
{"indexed":false,"name":"to","type":"address"} {"indexed":false,"name":"to","type":"address"}
], ]
"name":"MultiTransact",
"type":"event"
} }
]); ];

Loading…
Cancel
Save