ethers.js/lib.commonjs/abi/coders/fixed-bytes.d.ts

15 lines
514 B
TypeScript
Raw Permalink Normal View History

2023-03-03 18:25:07 -07:00
import { Typed } from "../typed.js";
import { Coder } from "./abstract-coder.js";
import type { BytesLike } from "../../utils/index.js";
import type { Reader, Writer } from "./abstract-coder.js";
/**
* @_ignore
*/
export declare class FixedBytesCoder extends Coder {
readonly size: number;
constructor(size: number, localName: string);
defaultValue(): string;
encode(writer: Writer, _value: BytesLike | Typed): number;
decode(reader: Reader): any;
}
//# sourceMappingURL=fixed-bytes.d.ts.map