ethers.js/lib.commonjs/abi/coders/tuple.d.ts
2023-04-27 21:19:55 +09:00

16 lines
509 B
TypeScript

import { Typed } from "../typed.js";
import { Coder } from "./abstract-coder.js";
import type { Reader, Writer } from "./abstract-coder.js";
/**
* @_ignore
*/
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