UNPKG

1.16 kBTypeScriptView Raw
1/// <reference types="node" />
2import { DataItem } from 'ethereum-types';
3import { BigNumber } from '../../configured_bignumber';
4import { DataTypeFactory } from '../abstract_data_types/interfaces';
5import { AbstractBlobDataType } from '../abstract_data_types/types/blob';
6import { RawCalldata } from '../calldata/raw_calldata';
7export declare class UIntDataType extends AbstractBlobDataType {
8 private static readonly _MATCHER;
9 private static readonly _SIZE_KNOWN_AT_COMPILE_TIME;
10 private static readonly _MAX_WIDTH;
11 private static readonly _DEFAULT_WIDTH;
12 private static readonly _MIN_VALUE;
13 private static readonly _DEFAULT_VALUE;
14 private static readonly _WIDTH_TO_MAX_VALUE;
15 private readonly _width;
16 private readonly _maxValue;
17 static matchType(type: string): boolean;
18 private static _decodeWidthFromType;
19 constructor(dataItem: DataItem, dataTypeFactory: DataTypeFactory);
20 encodeValue(value: BigNumber | string | number): Buffer;
21 decodeValue(calldata: RawCalldata): BigNumber | number;
22 getDefaultValue(): BigNumber | number;
23 getSignatureType(): string;
24}
25//# sourceMappingURL=uint.d.ts.map
\No newline at end of file