mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
Merge commit 'c4638ba3edbd14677da5441d61f7845668df2b22' into natspec
This commit is contained in:
commit
81ff253e68
5
dist/ethereum.js
vendored
5
dist/ethereum.js
vendored
@ -604,6 +604,8 @@ var contract = function (address, desc) {
|
|||||||
extra.to = address;
|
extra.to = address;
|
||||||
return abi.methodSignature(desc, method.name).then(function (signature) {
|
return abi.methodSignature(desc, method.name).then(function (signature) {
|
||||||
extra.data = signature.slice(0, 2 + ETH_METHOD_SIGNATURE_LENGTH * 2) + parsed;
|
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);
|
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.QtProvider = require('./lib/qt');
|
||||||
web3.providers.AutoProvider = require('./lib/autoprovider');
|
web3.providers.AutoProvider = require('./lib/autoprovider');
|
||||||
web3.eth.contract = require('./lib/contract');
|
web3.eth.contract = require('./lib/contract');
|
||||||
|
web3.abi = require('./lib/abi');
|
||||||
|
|
||||||
module.exports = web3;
|
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/abi":1,"./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"])
|
||||||
|
|
||||||
|
|
||||||
//# sourceMappingURL=ethereum.js.map
|
//# sourceMappingURL=ethereum.js.map
|
6
dist/ethereum.js.map
vendored
6
dist/ethereum.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethereum.min.js
vendored
2
dist/ethereum.min.js
vendored
File diff suppressed because one or more lines are too long
1
index.js
1
index.js
@ -7,5 +7,6 @@ web3.providers.HttpRpcProvider = require('./lib/httprpc');
|
|||||||
web3.providers.QtProvider = require('./lib/qt');
|
web3.providers.QtProvider = require('./lib/qt');
|
||||||
web3.providers.AutoProvider = require('./lib/autoprovider');
|
web3.providers.AutoProvider = require('./lib/autoprovider');
|
||||||
web3.eth.contract = require('./lib/contract');
|
web3.eth.contract = require('./lib/contract');
|
||||||
|
web3.abi = require('./lib/abi');
|
||||||
|
|
||||||
module.exports = web3;
|
module.exports = web3;
|
||||||
|
@ -79,7 +79,8 @@ var contract = function (address, desc) {
|
|||||||
extra.to = address;
|
extra.to = address;
|
||||||
return abi.methodSignature(desc, method.name).then(function (signature) {
|
return abi.methodSignature(desc, method.name).then(function (signature) {
|
||||||
extra.data = signature.slice(0, 2 + ETH_METHOD_SIGNATURE_LENGTH * 2) + parsed;
|
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);
|
return web3.eth.transact(extra).then(onSuccess);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user