Updated dist files.

This commit is contained in:
Richard Moore 2018-07-26 17:34:22 -04:00
parent a1a765f6e4
commit d2b6570c39
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
7 changed files with 12 additions and 8 deletions

@ -345,7 +345,7 @@ var Interface = /** @class */ (function () {
name: name, name: name,
signature: func.signature, signature: func.signature,
sighash: func.sighash, sighash: func.sighash,
value: bignumber_1.bigNumberify(tx.value || 0), value: bignumber_1.bigNumberify(tx.value || null),
}); });
} }
} }
@ -365,6 +365,7 @@ var Interface = /** @class */ (function () {
} }
// @TODO: If anonymous, and the only method, and the input count matches, should we parse and return it? // @TODO: If anonymous, and the only method, and the input count matches, should we parse and return it?
return new LogDescription({ return new LogDescription({
decode: event.decode,
name: event.name, name: event.name,
signature: event.signature, signature: event.signature,
topic: event.topic, topic: event.topic,

3
dist/ethers.js vendored

@ -884,7 +884,7 @@ var Interface = /** @class */ (function () {
name: name, name: name,
signature: func.signature, signature: func.signature,
sighash: func.sighash, sighash: func.sighash,
value: bignumber_1.bigNumberify(tx.value || 0), value: bignumber_1.bigNumberify(tx.value || null),
}); });
} }
} }
@ -904,6 +904,7 @@ var Interface = /** @class */ (function () {
} }
// @TODO: If anonymous, and the only method, and the input count matches, should we parse and return it? // @TODO: If anonymous, and the only method, and the input count matches, should we parse and return it?
return new LogDescription({ return new LogDescription({
decode: event.decode,
name: event.name, name: event.name,
signature: event.signature, signature: event.signature,
topic: event.topic, topic: event.topic,

2
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -301,10 +301,11 @@ declare module 'ethers/utils/types' {
decode(data: string, topics?: Array<string>): any; decode(data: string, topics?: Array<string>): any;
} }
export interface LogDescription { export interface LogDescription {
readonly decode: (data: string, topics: Array<string>) => any;
readonly name: string; readonly name: string;
readonly signature: string; readonly signature: string;
readonly topic: string; readonly topic: string;
readonly values: Array<any>; readonly values: any;
} }
export interface TransactionDescription { export interface TransactionDescription {
readonly name: string; readonly name: string;
@ -643,7 +644,7 @@ declare module 'ethers/utils/abi-coder' {
readonly coerceFunc: CoerceFunc; readonly coerceFunc: CoerceFunc;
constructor(coerceFunc?: CoerceFunc); constructor(coerceFunc?: CoerceFunc);
encode(types: Array<string | ParamType>, values: Array<any>): string; encode(types: Array<string | ParamType>, values: Array<any>): string;
decode(types: Array<string | ParamType>, data: Arrayish): Array<any>; decode(types: Array<string | ParamType>, data: Arrayish): any;
} }
export const defaultAbiCoder: AbiCoder; export const defaultAbiCoder: AbiCoder;
} }

@ -8,7 +8,7 @@ export declare class AbiCoder {
readonly coerceFunc: CoerceFunc; readonly coerceFunc: CoerceFunc;
constructor(coerceFunc?: CoerceFunc); constructor(coerceFunc?: CoerceFunc);
encode(types: Array<string | ParamType>, values: Array<any>): string; encode(types: Array<string | ParamType>, values: Array<any>): string;
decode(types: Array<string | ParamType>, data: Arrayish): Array<any>; decode(types: Array<string | ParamType>, data: Arrayish): any;
} }
export declare const defaultAbiCoder: AbiCoder; export declare const defaultAbiCoder: AbiCoder;
//# sourceMappingURL=abi-coder.d.ts.map //# sourceMappingURL=abi-coder.d.ts.map

@ -191,10 +191,11 @@ export interface EventDescription {
decode(data: string, topics?: Array<string>): any; decode(data: string, topics?: Array<string>): any;
} }
export interface LogDescription { export interface LogDescription {
readonly decode: (data: string, topics: Array<string>) => any;
readonly name: string; readonly name: string;
readonly signature: string; readonly signature: string;
readonly topic: string; readonly topic: string;
readonly values: Array<any>; readonly values: any;
} }
export interface TransactionDescription { export interface TransactionDescription {
readonly name: string; readonly name: string;