plugeth/cmd/mist/assets/examples/coin.js

66 lines
1.8 KiB
JavaScript
Raw Normal View History

2015-02-13 17:17:17 +00:00
var walletABI = [
2015-02-13 14:05:56 +00:00
{
2015-02-13 17:17:17 +00:00
"name":"confirm",
"type":"function",
"constant":false,
"inputs":[
{"name":"_h","type":"hash256"}
],
"outputs":[]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"execute",
"constant":false,
"type":"function",
"inputs":[
{"name":"_to","type":"address"},
{"name":"_value","type":"uint256"},
{"name":"_data","type":"bytes"}
],
"outputs":[
{"name":"_r","type":"hash256"}
]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"kill",
"type":"function",
"constant":false,
"inputs":[
{"name":"_to","type":"address"}
],
"outputs":[]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"changeOwner",
"type":"function",
"constant":false,
"inputs":[
{"name":"_from","type":"address"},
{"name":"_to","type":"address"}
],
"outputs":[]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"CashIn",
"type":"event",
"inputs":[
{"indexed":false,"name":"value","type":"uint256"}
]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"SingleTransact",
"type":"event",
"inputs":[
{"indexed":true,"name":"out","type":"string32"},
{"indexed":false,"name":"owner","type":"address"},
{"indexed":false,"name":"value","type":"uint256"},
{"indexed":false,"name":"to","type":"address"}
]
2015-02-13 14:05:56 +00:00
},{
2015-02-13 17:17:17 +00:00
"name":"MultiTransact",
"type":"event",
"inputs":[
{"indexed":true,"name":"out","type":"string32"},
{"indexed":false,"name":"owner","type":"address"},
{"indexed":false,"name":"operation","type":"hash256"},
{"indexed":false,"name":"value","type":"uint256"},
{"indexed":false,"name":"to","type":"address"}
]
2015-02-13 14:05:56 +00:00
}
2015-02-13 17:17:17 +00:00
];