aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/examples/coin.js
blob: 77daac8469e7f5b2ab0e0be4dd06734992214b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
var walletABI = [
    {
        "name":"confirm",
        "type":"function",
        "constant":false,
        "inputs":[
            {"name":"_h","type":"hash256"}
        ],
        "outputs":[]
    },{
        "name":"execute",
        "constant":false,
        "type":"function",
        "inputs":[
            {"name":"_to","type":"address"},
            {"name":"_value","type":"uint256"},
            {"name":"_data","type":"bytes"}
        ],
        "outputs":[
            {"name":"_r","type":"hash256"}
        ]
    },{
        "name":"kill",
        "type":"function",
        "constant":false,
        "inputs":[
            {"name":"_to","type":"address"}
        ],
        "outputs":[]
    },{
        "name":"changeOwner",
        "type":"function",
        "constant":false,
        "inputs":[
            {"name":"_from","type":"address"},
            {"name":"_to","type":"address"}
        ],
        "outputs":[]
    },{
        "name":"CashIn",
        "type":"event",
        "inputs":[
            {"indexed":false,"name":"value","type":"uint256"}
        ]
    },{
        "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"}
        ]
    },{
        "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"}
        ]
    }
];