metadao-futarchy under svm/venues/metadao-futarchy.
Generated from the type declarations shipped in
@eco-incorp/sauce 0.99.4. Each entry shows the package authors’ JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see architecture and deployments.METADAO_FUTARCHY_PROGRAM_ID
Variable · sdk/dist/svm/venues/metadao-futarchy/index.d.ts
METADAO_FUTARCHY_EVENT_AUTHORITY
Variable · sdk/dist/svm/venues/metadao-futarchy/index.d.ts
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 · sdk/dist/svm/venues/metadao-futarchy/index.d.ts
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 · sdk/dist/svm/venues/metadao-futarchy/index.d.ts
The COLD, venue-exact quote (see the file header’s derivation).
MetaDaoFutarchySpotPoolConfig
Interface · sdk/dist/svm/venues/metadao-futarchy/index.d.ts
