Skip to main content

Module: dataEntities/constants

ADDRESS_ALIAS_OFFSET

const ADDRESS_ALIAS_OFFSET: '0x1111000000000000000000000000000000001111' =
'0x1111000000000000000000000000000000001111';

The offset added to an L1 address to get the corresponding L2 address

Source

arbitrum-sdk/src/lib/dataEntities/constants.ts:37


CUSTOM_TOKEN_IS_ENABLED

const CUSTOM_TOKEN_IS_ENABLED: 42161 = 42161;

If a custom token is enabled for arbitrum it will implement a function called isArbitrumEnabled which returns this value. Intger: 0xa4b1

Source

arbitrum-sdk/src/lib/dataEntities/constants.ts:48


DISABLED_GATEWAY

const DISABLED_GATEWAY: '0x0000000000000000000000000000000000000001' =
'0x0000000000000000000000000000000000000001';

Address of the gateway a token will be assigned to if it is disabled

Source

arbitrum-sdk/src/lib/dataEntities/constants.ts:42