ethers.js/packages/abi/lib/coders/tuple.d.ts

13 lines
488 B
TypeScript
Raw Permalink Normal View History

2022-04-11 17:14:19 -04:00
import { Typed } from "../typed.js";
import { Coder } from "./abstract-coder.js";
import type { Reader, Writer } from "./abstract-coder.js";
export declare class TupleCoder extends Coder {
readonly coders: ReadonlyArray<Coder>;
constructor(coders: Array<Coder>, localName: string);
defaultValue(): any;
encode(writer: Writer, _value: Array<any> | {
[name: string]: any;
} | Typed): number;
decode(reader: Reader): any;
}
//# sourceMappingURL=tuple.d.ts.map