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

13 lines
538 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 { BigNumberish } from "@ethersproject/logger";
import type { Reader, Writer } from "./abstract-coder.js";
export declare class NumberCoder extends Coder {
readonly size: number;
readonly signed: boolean;
constructor(size: number, signed: boolean, localName: string);
defaultValue(): number;
encode(writer: Writer, _value: BigNumberish | Typed): number;
decode(reader: Reader): any;
}
//# sourceMappingURL=number.d.ts.map