ethers.js/packages/abi/lib/coders/bytes.d.ts
2020-11-23 03:43:28 -05:00

12 lines
405 B
TypeScript

import { Coder, Reader, Writer } from "./abstract-coder";
export declare class DynamicBytesCoder extends Coder {
constructor(type: string, localName: string);
defaultValue(): string;
encode(writer: Writer, value: any): number;
decode(reader: Reader): any;
}
export declare class BytesCoder extends DynamicBytesCoder {
constructor(localName: string);
decode(reader: Reader): any;
}