ethers.js/packages/abi/coders/number.d.ts
2019-05-14 18:48:48 -04:00

10 lines
380 B
TypeScript

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);
encode(writer: Writer, value: BigNumberish): number;
decode(reader: Reader): any;
}