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
81ff253e
Commit
81ff253e
authored
Jan 21, 2015
by
Marek Kotewicz
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit 'c4638ba3edbd14677da5441d61f7845668df2b22' into natspec
parents
e68f8e79
e1fcffcc
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
6 deletions
+11
-6
ethereum.js
dist/ethereum.js
+4
-1
ethereum.js.map
dist/ethereum.js.map
+3
-3
ethereum.min.js
dist/ethereum.min.js
+1
-1
index.js
index.js
+1
-0
contract.js
lib/contract.js
+2
-1
No files found.
dist/ethereum.js
View file @
81ff253e
...
...
@@ -604,6 +604,8 @@ var contract = function (address, desc) {
extra
.
to
=
address
;
return
abi
.
methodSignature
(
desc
,
method
.
name
).
then
(
function
(
signature
)
{
extra
.
data
=
signature
.
slice
(
0
,
2
+
ETH_METHOD_SIGNATURE_LENGTH
*
2
)
+
parsed
;
web3
.
_currentContractAbi
=
desc
;
web3
.
_currentContractAddress
=
address
;
return
web3
.
eth
.
transact
(
extra
).
then
(
onSuccess
);
});
}
...
...
@@ -1541,10 +1543,11 @@ web3.providers.HttpRpcProvider = require('./lib/httprpc');
web3
.
providers
.
QtProvider
=
require
(
'./lib/qt'
);
web3
.
providers
.
AutoProvider
=
require
(
'./lib/autoprovider'
);
web3
.
eth
.
contract
=
require
(
'./lib/contract'
);
web3
.
abi
=
require
(
'./lib/abi'
);
module
.
exports
=
web3
;
},{
"./lib/autoprovider"
:
2
,
"./lib/contract"
:
3
,
"./lib/filter"
:
4
,
"./lib/httprpc"
:
5
,
"./lib/providermanager"
:
6
,
"./lib/qt"
:
7
,
"./lib/web3"
:
8
,
"./lib/websocket"
:
9
}]},{},[
"web3"
])
},{
"./lib/a
bi"
:
1
,
"./lib/a
utoprovider"
:
2
,
"./lib/contract"
:
3
,
"./lib/filter"
:
4
,
"./lib/httprpc"
:
5
,
"./lib/providermanager"
:
6
,
"./lib/qt"
:
7
,
"./lib/web3"
:
8
,
"./lib/websocket"
:
9
}]},{},[
"web3"
])
//# sourceMappingURL=ethereum.js.map
\ No newline at end of file
dist/ethereum.js.map
View file @
81ff253e
This diff is collapsed.
Click to expand it.
dist/ethereum.min.js
View file @
81ff253e
This diff is collapsed.
Click to expand it.
index.js
View file @
81ff253e
...
...
@@ -7,5 +7,6 @@ web3.providers.HttpRpcProvider = require('./lib/httprpc');
web3
.
providers
.
QtProvider
=
require
(
'./lib/qt'
);
web3
.
providers
.
AutoProvider
=
require
(
'./lib/autoprovider'
);
web3
.
eth
.
contract
=
require
(
'./lib/contract'
);
web3
.
abi
=
require
(
'./lib/abi'
);
module
.
exports
=
web3
;
lib/contract.js
View file @
81ff253e
...
...
@@ -79,7 +79,8 @@ var contract = function (address, desc) {
extra
.
to
=
address
;
return
abi
.
methodSignature
(
desc
,
method
.
name
).
then
(
function
(
signature
)
{
extra
.
data
=
signature
.
slice
(
0
,
2
+
ETH_METHOD_SIGNATURE_LENGTH
*
2
)
+
parsed
;
web3
.
_currentAbi
=
desc
;
web3
.
_currentContractAbi
=
desc
;
web3
.
_currentContractAddress
=
address
;
return
web3
.
eth
.
transact
(
extra
).
then
(
onSuccess
);
});
}
...
...
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