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

METADAO_FUTARCHY_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

METADAO_FUTARCHY_EVENT_AUTHORITY

Variable · @eco-incorp/sauce/svm PDA([“__event_authority”], METADAO_FUTARCHY_PROGRAM_ID) - Anchor’s #[event_cpi] self-log signer, fixed for this program (independent of any pool). Computed via getProgramDerivedAddress and confirmed byte-for-byte against two real mainnet spotSwap transactions’ account lists (see the file header).

fetchMetaDaoFutarchySpotConfig

Function · @eco-incorp/sauce/svm Off-chain gate + decode: rejects the wrong account shape (size/discriminator), an active-proposal dao (PoolState::Futarchy - see the file header), and a drained side (Pool::swap requires both reserves nonzero). pool here is the Dao account address itself (the AMM lives embedded on it, not on a separate pool account).

metadaoFutarchySpotQuote

Function · @eco-incorp/sauce/svm The COLD, venue-exact quote (see the file header’s derivation).

MetaDaoFutarchySpotPoolConfig

Interface · @eco-incorp/sauce/svm