Updated dist files.
This commit is contained in:
parent
a1a765f6e4
commit
d2b6570c39
@ -345,7 +345,7 @@ var Interface = /** @class */ (function () {
|
||||
name: name,
|
||||
signature: func.signature,
|
||||
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?
|
||||
return new LogDescription({
|
||||
decode: event.decode,
|
||||
name: event.name,
|
||||
signature: event.signature,
|
||||
topic: event.topic,
|
||||
|
3
dist/ethers.js
vendored
3
dist/ethers.js
vendored
@ -884,7 +884,7 @@ var Interface = /** @class */ (function () {
|
||||
name: name,
|
||||
signature: func.signature,
|
||||
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?
|
||||
return new LogDescription({
|
||||
decode: event.decode,
|
||||
name: event.name,
|
||||
signature: event.signature,
|
||||
topic: event.topic,
|
||||
|
2
dist/ethers.min.js
vendored
2
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.min.js.map
vendored
2
dist/ethers.min.js.map
vendored
File diff suppressed because one or more lines are too long
5
dist/ethers.types.txt
vendored
5
dist/ethers.types.txt
vendored
@ -301,10 +301,11 @@ declare module 'ethers/utils/types' {
|
||||
decode(data: string, topics?: Array<string>): any;
|
||||
}
|
||||
export interface LogDescription {
|
||||
readonly decode: (data: string, topics: Array<string>) => any;
|
||||
readonly name: string;
|
||||
readonly signature: string;
|
||||
readonly topic: string;
|
||||
readonly values: Array<any>;
|
||||
readonly values: any;
|
||||
}
|
||||
export interface TransactionDescription {
|
||||
readonly name: string;
|
||||
@ -643,7 +644,7 @@ declare module 'ethers/utils/abi-coder' {
|
||||
readonly coerceFunc: CoerceFunc;
|
||||
constructor(coerceFunc?: CoerceFunc);
|
||||
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;
|
||||
}
|
||||
|
2
dist/types/utils/abi-coder.d.ts
vendored
2
dist/types/utils/abi-coder.d.ts
vendored
@ -8,7 +8,7 @@ export declare class AbiCoder {
|
||||
readonly coerceFunc: CoerceFunc;
|
||||
constructor(coerceFunc?: CoerceFunc);
|
||||
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;
|
||||
//# sourceMappingURL=abi-coder.d.ts.map
|
3
dist/types/utils/types.d.ts
vendored
3
dist/types/utils/types.d.ts
vendored
@ -191,10 +191,11 @@ export interface EventDescription {
|
||||
decode(data: string, topics?: Array<string>): any;
|
||||
}
|
||||
export interface LogDescription {
|
||||
readonly decode: (data: string, topics: Array<string>) => any;
|
||||
readonly name: string;
|
||||
readonly signature: string;
|
||||
readonly topic: string;
|
||||
readonly values: Array<any>;
|
||||
readonly values: any;
|
||||
}
|
||||
export interface TransactionDescription {
|
||||
readonly name: string;
|
||||
|
Loading…
Reference in New Issue
Block a user