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

11 lines
444 B
TypeScript
Raw Permalink Normal View History

import { BigNumberish } from "@ethersproject/bignumber";
import { Coder, Reader, Writer } from "./abstract-coder";
export declare class NumberCoder extends Coder {
readonly size: number;
readonly signed: boolean;
constructor(size: number, signed: boolean, localName: string);
2020-11-23 03:43:28 -05:00
defaultValue(): number;
encode(writer: Writer, value: BigNumberish): number;
decode(reader: Reader): any;
}
//# sourceMappingURL=number.d.ts.map