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

CARROT_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

CRT_MINT

Variable · @eco-incorp/sauce/svm

CARROT_VAULT_ADDRESS

Variable · @eco-incorp/sauce/svm The one deployed vault - a PDA of ["vault", CRT_MINT], singleton today.

CARROT_TOKEN_2022_MINTS

Variable · @eco-incorp/sauce/svm See the module header’s TOKEN PROGRAM note - CRT (shares) plus pyUSD are the only Token-2022 mints today.

CARROT_MAX_ASSETS

Variable · @eco-incorp/sauce/svm 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 · @eco-incorp/sauce/svm

parseCarrotDirection

Function · @eco-incorp/sauce/svm

carrotAllDirections

Function · @eco-incorp/sauce/svm Every issue:<id> / redeem:<id> direction the fetched vault currently offers, in asset order.

carrotGate

Function · @eco-incorp/sauce/svm Prepare-time direction gate: self-drops the SPECIFIC direction (not the whole vault) if its asset’s oracle reading is stale.

carrotMints

Function · @eco-incorp/sauce/svm

carrotApplyDirection

Function · @eco-incorp/sauce/svm

PYTH_RECEIVER_PROGRAM_ID

Variable · @eco-incorp/sauce/svm Pyth PriceUpdateV2 (pyth-solana-receiver) layout, confirmed live against all 3 basket oracles.

CARROT_U64_MAX

Variable · @eco-incorp/sauce/svm

CarrotAssetSnapshot

Interface · @eco-incorp/sauce/svm

CarrotPoolConfig

Interface · @eco-incorp/sauce/svm

CarrotDirection

Interface · @eco-incorp/sauce/svm