Skip to main content
Solana venue integration carrot under svm/venues/carrot.
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.

CARROT_PROGRAM_ID

Variable · sdk/dist/svm/venues/carrot/index.d.ts

CRT_MINT

Variable · sdk/dist/svm/venues/carrot/index.d.ts

CARROT_VAULT_ADDRESS

Variable · sdk/dist/svm/venues/carrot/index.d.ts The one deployed vault - a PDA of ["vault", CRT_MINT], singleton today.

CARROT_TOKEN_2022_MINTS

Variable · sdk/dist/svm/venues/carrot/index.d.ts See the module header’s TOKEN PROGRAM note - CRT (shares) plus pyUSD are the only Token-2022 mints today.

CARROT_MAX_ASSETS

Variable · sdk/dist/svm/venues/carrot/index.d.ts Fail-loud cap on basket size (not a silent truncation) - see the module header’s SELF-DROP SCOPE note. The vault has held exactly 3 assets (USDC/USDT/pyUSD) for its entire observed history; paramCount below is sized for this. A real 4th-asset addition needs this constant (and paramCount) bumped, not a silent misquote.

carrot

Variable · sdk/dist/svm/venues/carrot/index.d.ts

parseCarrotDirection

Function · sdk/dist/svm/venues/carrot/index.d.ts

carrotAllDirections

Function · sdk/dist/svm/venues/carrot/index.d.ts Every issue:<id> / redeem:<id> direction the fetched vault currently offers, in asset order - the multi-direction dispatch resolveSvmPoolSpec tries (see the consuming app SVM solver entry).

carrotGate

Function · sdk/dist/svm/venues/carrot/index.d.ts Prepare-time direction gate: self-drops the SPECIFIC direction (not the whole vault) if its asset’s oracle reading is stale.

carrotMints

Function · sdk/dist/svm/venues/carrot/index.d.ts

carrotApplyDirection

Function · sdk/dist/svm/venues/carrot/index.d.ts

PYTH_RECEIVER_PROGRAM_ID

Variable · sdk/dist/svm/venues/carrot/index.d.ts Pyth PriceUpdateV2 (pyth-solana-receiver) layout, confirmed live against all 3 basket oracles.

CARROT_U64_MAX

Variable · sdk/dist/svm/venues/carrot/index.d.ts

CarrotAssetSnapshot

Interface · sdk/dist/svm/venues/carrot/index.d.ts

CarrotPoolConfig

Interface · sdk/dist/svm/venues/carrot/index.d.ts

CarrotDirection

Interface · sdk/dist/svm/venues/carrot/index.d.ts