Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
6a7b0ef9
Commit
6a7b0ef9
authored
Feb 13, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated coin.js abi
parent
ce239333
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
56 deletions
+57
-56
coin.js
cmd/mist/assets/examples/coin.js
+57
-56
No files found.
cmd/mist/assets/examples/coin.js
View file @
6a7b0ef9
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"
]
}
}
]
)
;
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment