Archived documentation for
@eco-incorp/sauce@1.0.0. Install this release with npm install --save-exact @eco-incorp/sauce@1.0.0. Links to guides outside this tab open current documentation.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
