explorer: name the venue this chain now has
The AMM landed on 96369 on 2026-09-09 (luxfi/standard script/venue.ts, recorded at deployments/venue/96369.json), so the four fields this file left unset because nothing was deployed here have addresses to carry: the two factories whose PairCreated and PoolCreated the subgraph trusts, the quoter that prices a concentrated route, and the SwapRouter02 a swap is addressed to. Changing either factory changes the store's source fingerprint, so the indexer drops its derived rows and re-reads from block 0 rather than looking for events already behind its cursor. Applied and restarted: it read blocks 1..59, 255 events, and values 16 pools at $39,899,893.58 with LUX at one dollar. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -225,15 +225,29 @@ configMaps:
|
||||
# tokens reach holders, and what it still holds is not circulating.
|
||||
treasury: "0x9011E888251AB053B7bD1cdB598Db4f9DEd94714"
|
||||
indexer: { poll_interval: 30s }
|
||||
# No factory_v2 or factory_v3. Those name the ONE contract whose
|
||||
# PairCreated / PoolCreated a subgraph will trust, and neither address
|
||||
# this file used to carry holds code on this chain — they belong to
|
||||
# the deployment on the network this one replaced. Naming another
|
||||
# chain's factory would have this subgraph trust a trust-root that is
|
||||
# not there. Left unset, the AMM indexer watches the settlement
|
||||
# precompile at 0x9999, which IS on this chain, and answers an empty
|
||||
# venue for the contract AMM that is not. Set them the day one is
|
||||
# deployed here, to the addresses it lands on.
|
||||
# The two contracts whose PairCreated / PoolCreated this subgraph
|
||||
# trusts, and the periphery a quote and a swap are addressed to.
|
||||
# Deployed on this chain 2026-09-09 by luxfi/standard script/venue.ts
|
||||
# and recorded in that repo at deployments/venue/96369.json, which is
|
||||
# where these came from. The addresses this file used to carry belong
|
||||
# to the deployment on the network this one replaced and hold no code
|
||||
# here; a subgraph pointed at those trusts a root that is not there,
|
||||
# which is why they were unset rather than guessed at.
|
||||
#
|
||||
# Changing either factory changes the store's source fingerprint, so
|
||||
# the indexer drops its derived rows and re-reads this chain from
|
||||
# block 0 — which is what puts the venue's whole history in the graph
|
||||
# rather than only what it sees after this lands.
|
||||
factory_v2: "0x41f76735F33fdb2C81478bF4B7654c5d9ba719c1"
|
||||
factory_v3: "0x6E5884084814F4785e21f6f9C11D3C299Ef5d7f1"
|
||||
# A quote off the indexed book is exact for a constant-product pair
|
||||
# and an estimate for a concentrated one, where the answer depends on
|
||||
# which ticks the trade crosses. With the quoter set, the chain prices
|
||||
# that route itself.
|
||||
quoter_v2: "0x6EA2F79f743C809D1152657Ef5d5907f47a34cfc"
|
||||
# SwapRouter02: the one contract a swap is addressed to and an
|
||||
# approval is granted, over both generations.
|
||||
router: "0xbbD8d9A1E6bf5627A2F6D2aF38664bbe1cEF63Bb"
|
||||
graph:
|
||||
enabled: true
|
||||
subgraphs:
|
||||
|
||||
Reference in New Issue
Block a user