ethers.js/packages/abi/lib/coders/tuple.d.ts
2020-05-12 23:31:51 -04:00

10 lines
328 B
TypeScript

import { Coder, Reader, Writer } from "./abstract-coder";
export declare class TupleCoder extends Coder {
readonly coders: Array<Coder>;
constructor(coders: Array<Coder>, localName: string);
encode(writer: Writer, value: Array<any> | {
[name: string]: any;
}): number;
decode(reader: Reader): any;
}