2019-08-25 09:39:20 +03:00
|
|
|
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 11:43:28 +03:00
|
|
|
defaultValue(): number;
|
2019-08-25 09:39:20 +03:00
|
|
|
encode(writer: Writer, value: BigNumberish): number;
|
|
|
|
decode(reader: Reader): any;
|
|
|
|
}
|