forked from mirror/go-ethereum
parent
ce239333d5
commit
6a7b0ef904
@ -1,64 +1,65 @@ |
|||||||
var contract = web3.eth.contractFromAbi([ |
var walletABI = [ |
||||||
{ |
{ |
||||||
"constant":false, |
"name":"confirm", |
||||||
"inputs":[ |
"type":"function", |
||||||
{"name":"_h","type":"hash256"} |
"constant":false, |
||||||
], |
"inputs":[ |
||||||
"name":"confirm", |
{"name":"_h","type":"hash256"} |
||||||
"outputs":[], |
], |
||||||
"type":"function" |
"outputs":[] |
||||||
},{ |
},{ |
||||||
"constant":false, |
"name":"execute", |
||||||
"inputs":[ |
"constant":false, |
||||||
{"name":_to,"type":"address"}, |
"type":"function", |
||||||
{"name":"_value","type":"uint256"}, |
"inputs":[ |
||||||
{"name":"_data","type":"bytes"} |
{"name":"_to","type":"address"}, |
||||||
], |
{"name":"_value","type":"uint256"}, |
||||||
"name":"execute", |
{"name":"_data","type":"bytes"} |
||||||
"outputs":[ |
], |
||||||
{"name":"_r","type":"hash256"} |
"outputs":[ |
||||||
], |
{"name":"_r","type":"hash256"} |
||||||
"type":"function" |
] |
||||||
},{ |
},{ |
||||||
"constant":false, |
"name":"kill", |
||||||
"inputs":[ |
"type":"function", |
||||||
{"name":"_to","type":"address"} |
"constant":false, |
||||||
],"name":"kill", |
"inputs":[ |
||||||
"outputs":[], |
{"name":"_to","type":"address"} |
||||||
"type":"function" |
], |
||||||
|
"outputs":[] |
||||||
},{ |
},{ |
||||||
"constant":false, |
"name":"changeOwner", |
||||||
"inputs":[ |
"type":"function", |
||||||
{"name":"_from","type":"address"}, |
"constant":false, |
||||||
{"name":"_to","type":"address"} |
"inputs":[ |
||||||
], |
{"name":"_from","type":"address"}, |
||||||
"name":"changeOwner", |
{"name":"_to","type":"address"} |
||||||
"outputs":[], |
], |
||||||
"type":"function" |
"outputs":[] |
||||||
},{ |
},{ |
||||||
"inputs":[ |
"name":"CashIn", |
||||||
{"indexed":false,"name":"value","type":"uint256"} |
"type":"event", |
||||||
], |
"inputs":[ |
||||||
"name":"CashIn", |
{"indexed":false,"name":"value","type":"uint256"} |
||||||
"type":"event" |
] |
||||||
},{ |
},{ |
||||||
"inputs":[ |
"name":"SingleTransact", |
||||||
{"indexed":true,"name":"out","type":"string32"}, |
"type":"event", |
||||||
{"indexed":false,"name":"owner","type":"address"}, |
"inputs":[ |
||||||
{"indexed":false,"name":"value","type":"uint256"}, |
{"indexed":true,"name":"out","type":"string32"}, |
||||||
{"indexed":false,"name":"to","type":"address"} |
{"indexed":false,"name":"owner","type":"address"}, |
||||||
], |
{"indexed":false,"name":"value","type":"uint256"}, |
||||||
"name":"SingleTransact", |
{"indexed":false,"name":"to","type":"address"} |
||||||
"type":"event" |
] |
||||||
},{ |
},{ |
||||||
"inputs":[ |
"name":"MultiTransact", |
||||||
{"indexed":true,"name":"out","type":"string32"}, |
"type":"event", |
||||||
{"indexed":false,"name":"owner","type":"address"}, |
"inputs":[ |
||||||
{"indexed":false,"name":"operation","type":"hash256"}, |
{"indexed":true,"name":"out","type":"string32"}, |
||||||
{"indexed":false,"name":"value","type":"uint256"}, |
{"indexed":false,"name":"owner","type":"address"}, |
||||||
{"indexed":false,"name":"to","type":"address"} |
{"indexed":false,"name":"operation","type":"hash256"}, |
||||||
], |
{"indexed":false,"name":"value","type":"uint256"}, |
||||||
"name":"MultiTransact", |
{"indexed":false,"name":"to","type":"address"} |
||||||
"type":"event" |
] |
||||||
} |
} |
||||||
]); |
]; |
||||||
|
Loading…
Reference in new issue