Skip to main content
Solana venue integration gavel, exported from @eco-incorp/sauce/svm. Generated from the type declarations of @eco-incorp/sauce.

GAVEL_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

GAVEL_POOL_DISCRIMINANT

Variable · @eco-incorp/sauce/svm u64 LE @0 - accounts.rs POOL_ACCOUNT_DISCRIMINATOR ([116,210,187,119,196,196,52,137]).

GAVEL_POOL_SIZE

Variable · @eco-incorp/sauce/svm PoolHeader (528) + Amm (96) - bytemuck::Pod, cast at offset 0, no prefix.

GAVEL_LEADER_SLOT_WINDOW

Variable · @eco-incorp/sauce/svm processor/swap.rs / lib.rs - the sr-AMM snapshot rotates every 4 slots (~1.6-2s).

gavel

Variable · @eco-incorp/sauce/svm The Gavel venue: Ellipsis Labs’ sandwich-resistant constant-product AMM.

fetchGavelConfig

Function · @eco-incorp/sauce/svm Fetch + gate one Gavel/Plasma pool: discriminant + size, a live LP-share / reserve liveness gate (mirrors every other family’s “one bad pool never kills a cook” self-drop), and classic-SPL-only mints (the program’s own token_program is hardcoded to Tokenkeg - see the module header).

GavelPoolConfig

Interface · @eco-incorp/sauce/svm