77 lines
2.5 KiB
TypeScript
77 lines
2.5 KiB
TypeScript
/**
|
|
* 2^64-1
|
|
*/
|
|
export declare const MAX_UINT64: bigint;
|
|
/**
|
|
* The max integer that the evm can handle (2^256-1)
|
|
*/
|
|
export declare const MAX_INTEGER: bigint;
|
|
/**
|
|
* The max integer that the evm can handle (2^256-1) as a bigint
|
|
* 2^256-1 equals to 340282366920938463463374607431768211455
|
|
* We use literal value instead of calculated value for compatibility issue.
|
|
*/
|
|
export declare const MAX_INTEGER_BIGINT: bigint;
|
|
export declare const SECP256K1_ORDER: bigint;
|
|
export declare const SECP256K1_ORDER_DIV_2: bigint;
|
|
/**
|
|
* 2^256
|
|
*/
|
|
export declare const TWO_POW256: bigint;
|
|
/**
|
|
* Keccak-256 hash of null
|
|
*/
|
|
export declare const KECCAK256_NULL_S = "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
|
/**
|
|
* Keccak-256 hash of null
|
|
*/
|
|
export declare const KECCAK256_NULL: Uint8Array;
|
|
/**
|
|
* Keccak-256 of an RLP of an empty array
|
|
*/
|
|
export declare const KECCAK256_RLP_ARRAY_S = "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347";
|
|
/**
|
|
* Keccak-256 of an RLP of an empty array
|
|
*/
|
|
export declare const KECCAK256_RLP_ARRAY: Uint8Array;
|
|
/**
|
|
* Keccak-256 hash of the RLP of null
|
|
*/
|
|
export declare const KECCAK256_RLP_S = "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421";
|
|
/**
|
|
* Keccak-256 hash of the RLP of null
|
|
*/
|
|
export declare const KECCAK256_RLP: Uint8Array;
|
|
/**
|
|
* RLP encoded empty string
|
|
*/
|
|
export declare const RLP_EMPTY_STRING: Uint8Array;
|
|
export declare const MAX_WITHDRAWALS_PER_PAYLOAD = 16;
|
|
export declare const RIPEMD160_ADDRESS_STRING = "0000000000000000000000000000000000000003";
|
|
/**
|
|
* BigInt constants
|
|
*/
|
|
export declare const BIGINT_NEG1: bigint;
|
|
export declare const BIGINT_0: bigint;
|
|
export declare const BIGINT_1: bigint;
|
|
export declare const BIGINT_2: bigint;
|
|
export declare const BIGINT_3: bigint;
|
|
export declare const BIGINT_7: bigint;
|
|
export declare const BIGINT_8: bigint;
|
|
export declare const BIGINT_27: bigint;
|
|
export declare const BIGINT_28: bigint;
|
|
export declare const BIGINT_31: bigint;
|
|
export declare const BIGINT_32: bigint;
|
|
export declare const BIGINT_64: bigint;
|
|
export declare const BIGINT_128: bigint;
|
|
export declare const BIGINT_255: bigint;
|
|
export declare const BIGINT_256: bigint;
|
|
export declare const BIGINT_96: bigint;
|
|
export declare const BIGINT_100: bigint;
|
|
export declare const BIGINT_160: bigint;
|
|
export declare const BIGINT_224: bigint;
|
|
export declare const BIGINT_2EXP96: bigint;
|
|
export declare const BIGINT_2EXP160: bigint;
|
|
export declare const BIGINT_2EXP224: bigint;
|
|
export declare const BIGINT_2EXP256: bigint;
|
|
//# sourceMappingURL=constants.d.ts.map
|