Constants

arbitrum_py.data_entities.constants.NODE_INTERFACE_ADDRESS: Final[str] = '0x00000000000000000000000000000000000000C8'

Address of the Node Interface contract.

arbitrum_py.data_entities.constants.ARB_SYS_ADDRESS: Final[str] = '0x0000000000000000000000000000000000000064'

Address of the ArbSys contract.

arbitrum_py.data_entities.constants.ARB_RETRYABLE_TX_ADDRESS: Final[str] = '0x000000000000000000000000000000000000006E'

Address of the ArbRetryableTx contract.

arbitrum_py.data_entities.constants.ARB_ADDRESS_TABLE_ADDRESS: Final[str] = '0x0000000000000000000000000000000000000066'

Address of the ArbAddressTable contract.

arbitrum_py.data_entities.constants.ARB_OWNER_PUBLIC: Final[str] = '0x000000000000000000000000000000000000006B'

Address of the ArbOwnerPublic contract.

arbitrum_py.data_entities.constants.ARB_GAS_INFO: Final[str] = '0x000000000000000000000000000000000000006C'

Address of the ArbGasInfo contract.

arbitrum_py.data_entities.constants.ARB_STATISTICS: Final[str] = '0x000000000000000000000000000000000000006F'

Address of the ArbStatistics contract.

arbitrum_py.data_entities.constants.ADDRESS_ZERO: Final[str] = '0x0000000000000000000000000000000000000000'

The zero address.

arbitrum_py.data_entities.constants.ARB_MINIMUM_BLOCK_TIME_IN_SECONDS: Final[float] = 0.25

The minimum time between blocks in seconds.

arbitrum_py.data_entities.constants.SEVEN_DAYS_IN_SECONDS: Final[int] = 604800

Seven days in seconds (7 * 24 * 60 * 60).

arbitrum_py.data_entities.constants.ADDRESS_ALIAS_OFFSET: Final[str] = '0x1111000000000000000000000000000000001111'

The offset added to an L1 address to get the corresponding L2 address. This is used to prevent address collisions between L1 and L2.

arbitrum_py.data_entities.constants.DISABLED_GATEWAY: Final[str] = '0x0000000000000000000000000000000000000001'

Address of the gateway a token will be assigned to if it is disabled. This is used in the token bridging system to mark tokens as unbridgeable.

arbitrum_py.data_entities.constants.CUSTOM_TOKEN_IS_ENABLED: Final[int] = 42161

If a custom token is enabled for Arbitrum it will implement a function called isArbitrumEnabled which returns this value (42161 = 0xa4b1). This value matches Arbitrum One’s chain ID.

arbitrum_py.data_entities.constants.DEFAULT_DEPOSIT_TIMEOUT: Final[int] = 1800000

How long to wait (in milliseconds) for a deposit to arrive before timing out. Finalization on mainnet can take up to 2 epochs = 64 blocks. We add 10 minutes for system processing plus buffer time. Total timeout: 30 minutes

arbitrum_py.data_entities.constants.ARB1_NITRO_GENESIS_L1_BLOCK: Final[int] = 15447158

The L1 block at which Nitro was activated. See: https://etherscan.io/block/15447158

arbitrum_py.data_entities.constants.ARB1_NITRO_GENESIS_L2_BLOCK: Final[int] = 22207817

The L2 block at which Nitro was activated. See: https://arbiscan.io/block/22207817

arbitrum_py.data_entities.constants.MAX_UINT256: Final[int] = 115792089237316195423570985008687907853269984665640564039457584007913129639935

Maximum uint256 value (2^256 - 1). Used as the default approval amount for token transfers.