UNPKG

1.07 kBTypeScriptView Raw
1/// <reference types="bn.js" />
2/// <reference types="node" />
3import { Buffer } from 'buffer';
4import { BN } from './externals';
5/**
6 * 2^64-1
7 */
8export declare const MAX_UINT64: BN;
9/**
10 * The max integer that the evm can handle (2^256-1)
11 */
12export declare const MAX_INTEGER: BN;
13/**
14 * 2^256
15 */
16export declare const TWO_POW256: BN;
17/**
18 * Keccak-256 hash of null
19 */
20export declare const KECCAK256_NULL_S = "c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
21/**
22 * Keccak-256 hash of null
23 */
24export declare const KECCAK256_NULL: Buffer;
25/**
26 * Keccak-256 of an RLP of an empty array
27 */
28export declare const KECCAK256_RLP_ARRAY_S = "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347";
29/**
30 * Keccak-256 of an RLP of an empty array
31 */
32export declare const KECCAK256_RLP_ARRAY: Buffer;
33/**
34 * Keccak-256 hash of the RLP of null
35 */
36export declare const KECCAK256_RLP_S = "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421";
37/**
38 * Keccak-256 hash of the RLP of null
39 */
40export declare const KECCAK256_RLP: Buffer;