Skip to content

Commit e9baaa8

Browse files
authored
Update constants.ts
1 parent 1aa4d3c commit e9baaa8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/global/constants.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ export const NetworkStateType = {
9191

9292
export type NetworkStateType = typeof NetworkStateType[keyof typeof NetworkStateType];
9393

94+
export const ZERO = 0n;
95+
export const MASK_250 = 2n ** 250n - 1n; // 2 ** 250 - 1
96+
export const MASK_31 = 2n ** 31n - 1n; // 2 ** 31 - 1
97+
export const API_VERSION = ZERO;
98+
export const PRIME = 2n ** 251n + 17n * 2n ** 192n + 1n;
99+
94100
export const UDC = {
95101
ADDRESS: '0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf',
96102
ENTRYPOINT: 'deployContract',

0 commit comments

Comments
 (0)