mirror of
https://github.com/luxfi/precompile.git
synced 2026-07-27 03:33:45 +00:00
chore: brand-neutral cleanup — remove cross-tenant references
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ type Engine interface {
|
||||
|
||||
// Brand returns the human-readable identity of the backend. The precompile
|
||||
// uses this in log lines and error wrapping so user-facing strings on a
|
||||
// Partner EVM chain say "Partner DEX", on Lux say "Lux DEX", etc. Implementations
|
||||
// regulated EVM L1 chain say "Partner DEX", on Lux say "Lux DEX", etc. Implementations
|
||||
// MUST return a non-empty constant; an empty value trips a sanity check at
|
||||
// SetBackend() time.
|
||||
Brand() string
|
||||
|
||||
+3
-3
@@ -49,13 +49,13 @@ var (
|
||||
//
|
||||
// - The precompile lives at ONE address (LP-9010) across every Lux-derived
|
||||
// EVM (Lux C-Chain, Hanzo, Zoo, SPC, and white-label deployments such as
|
||||
// Partner EVM). The ABI is identical for every chain.
|
||||
// downstream EVM). The ABI is identical for every chain.
|
||||
//
|
||||
// - The math/matching backend is parameterized. Default is the in-process
|
||||
// EmbeddedEngine (Uniswap V4 math compiled into the precompile). A host
|
||||
// binary (the EVM plugin main) may replace it before first use via
|
||||
// SetBackend() — for example a Partner EVM build that points the precompile
|
||||
// at a Liquidity-branded DEX process over ZAP.
|
||||
// SetBackend() — for example a downstream EVM build that points the precompile
|
||||
// at a downstream-tenant DEX process over ZAP.
|
||||
//
|
||||
// - Brand identity is a value the backend carries (Engine.Brand()). User-
|
||||
// facing error strings produced by the precompile MUST come from the
|
||||
|
||||
Reference in New Issue
Block a user