eth_filter complex topics, #175

This commit is contained in:
Marek Kotewicz 2015-04-21 20:34:33 +02:00
parent 836529a391
commit e9107367fd
7 changed files with 24 additions and 8 deletions

5
dist/web3-light.js vendored
View File

@ -2127,6 +2127,11 @@ SolidityEvent.prototype.encode = function (indexed, options) {
}).map(function (i) {
var value = indexed[i.name];
if (value !== undefined) {
if (utils.isArray(value)) {
return value.map(function (v) {
return '0x' + coder.encodeParam(i.type, v);
});
}
return '0x' + coder.encodeParam(i.type, value);
}
return null;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5
dist/web3.js vendored
View File

@ -2127,6 +2127,11 @@ SolidityEvent.prototype.encode = function (indexed, options) {
}).map(function (i) {
var value = indexed[i.name];
if (value !== undefined) {
if (utils.isArray(value)) {
return value.map(function (v) {
return '0x' + coder.encodeParam(i.type, v);
});
}
return '0x' + coder.encodeParam(i.type, value);
}
return null;

4
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -99,6 +99,11 @@ SolidityEvent.prototype.encode = function (indexed, options) {
}).map(function (i) {
var value = indexed[i.name];
if (value !== undefined) {
if (utils.isArray(value)) {
return value.map(function (v) {
return '0x' + coder.encodeParam(i.type, v);
});
}
return '0x' + coder.encodeParam(i.type, value);
}
return null;