aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-14 01:17:17 +0800
committerobscuren <geffobscura@gmail.com>2015-02-14 01:17:17 +0800
commit6a7b0ef904def27c535cba6f85d686bc4dbab281 (patch)
tree7faffa7d21456581e2bcfa899af19207c6805594 /cmd/mist
parentce239333d529898edd8333637fd75c565e80a9ff (diff)
downloaddexon-6a7b0ef904def27c535cba6f85d686bc4dbab281.tar.gz
dexon-6a7b0ef904def27c535cba6f85d686bc4dbab281.tar.zst
dexon-6a7b0ef904def27c535cba6f85d686bc4dbab281.zip
Updated coin.js abi
Diffstat (limited to 'cmd/mist')
-rw-r--r--cmd/mist/assets/examples/coin.js113
1 files changed, 57 insertions, 56 deletions
diff --git a/cmd/mist/assets/examples/coin.js b/cmd/mist/assets/examples/coin.js
index d69af5dcb..77daac846 100644
--- a/cmd/mist/assets/examples/coin.js
+++ b/cmd/mist/assets/examples/coin.js
@@ -1,64 +1,65 @@
-var contract = web3.eth.contractFromAbi([
+var walletABI = [
{
- "constant":false,
- "inputs":[
- {"name":"_h","type":"hash256"}
- ],
- "name":"confirm",
- "outputs":[],
- "type":"function"
+ "name":"confirm",
+ "type":"function",
+ "constant":false,
+ "inputs":[
+ {"name":"_h","type":"hash256"}
+ ],
+ "outputs":[]
},{
- "constant":false,
- "inputs":[
- {"name":_to,"type":"address"},
- {"name":"_value","type":"uint256"},
- {"name":"_data","type":"bytes"}
- ],
- "name":"execute",
- "outputs":[
- {"name":"_r","type":"hash256"}
- ],
- "type":"function"
+ "name":"execute",
+ "constant":false,
+ "type":"function",
+ "inputs":[
+ {"name":"_to","type":"address"},
+ {"name":"_value","type":"uint256"},
+ {"name":"_data","type":"bytes"}
+ ],
+ "outputs":[
+ {"name":"_r","type":"hash256"}
+ ]
},{
- "constant":false,
- "inputs":[
- {"name":"_to","type":"address"}
- ],"name":"kill",
- "outputs":[],
- "type":"function"
+ "name":"kill",
+ "type":"function",
+ "constant":false,
+ "inputs":[
+ {"name":"_to","type":"address"}
+ ],
+ "outputs":[]
},{
- "constant":false,
- "inputs":[
- {"name":"_from","type":"address"},
- {"name":"_to","type":"address"}
- ],
- "name":"changeOwner",
- "outputs":[],
- "type":"function"
+ "name":"changeOwner",
+ "type":"function",
+ "constant":false,
+ "inputs":[
+ {"name":"_from","type":"address"},
+ {"name":"_to","type":"address"}
+ ],
+ "outputs":[]
},{
- "inputs":[
- {"indexed":false,"name":"value","type":"uint256"}
- ],
- "name":"CashIn",
- "type":"event"
+ "name":"CashIn",
+ "type":"event",
+ "inputs":[
+ {"indexed":false,"name":"value","type":"uint256"}
+ ]
},{
- "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":"SingleTransact",
- "type":"event"
+ "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"}
+ ]
},{
- "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"}
- ],
- "name":"MultiTransact",
- "type":"event"
+ "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"}
+ ]
}
-]);
+];