registry

package
v1.104.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: GPL-3.0, LGPL-3.0, LGPL-3.0 Imports: 65 Imported by: 13

Documentation

Overview

Bridge between external precompile registry (github.com/luxfi/precompile/modules) and the EVM's internal precompile registry (github.com/luxfi/evm/precompile/modules).

External precompiles register into their own registry via init() functions. This bridge copies them into the EVM's registry with adapter types so the config parser and execution engine can find and run them.

Module to facilitate the registration of precompiles and their configuration.

Index

Constants

View Source
const DexSettleActivationTime uint64 = 1766704800

DexSettleActivationTime is the Lux-protocol timestamp at which the AlwaysOn DEX settlement system precompile (0x9999) becomes present — EXTCODESIZE marker installed and Run dispatched — on every Lux chain. 2025-12-25T23:20:00Z.

It is a protocol constant (the analog of a fork timestamp), NOT per-network JSON config, so it applies uniformly and needs no genesisPrecompiles / precompileUpgrades entry. Every Lux chain in existence was (re-)genesised BEFORE this timestamp (Lux mainnet/testnet and Zoo mainnet block-0 are all Nov 2024), so none of them carry 0x9999 in their ORIGINAL genesis state — this constant is what keeps their genesis hashes byte-identical after the fix, while 0x9999 still activates later, at the block that crosses this timestamp during history replay (verified: ZERO 0x9999 usage on mainnet before it, so activation introduces no state divergence). A chain genesised at/after this timestamp gets 0x9999 in its genesis state.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL