xorca under svm/venues/xorca.
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.XORCA_PROGRAM_ID
Variable · sdk/dist/svm/venues/xorca/index.d.ts
ORCA_MINT_ID
Variable · sdk/dist/svm/venues/xorca/index.d.ts
Hardcoded program constants (cpi/token/mod.rs) - never stored as pool-account bytes.
XORCA_MINT_ID
Variable · sdk/dist/svm/venues/xorca/index.d.ts
XORCA_STATE_PDA
Variable · sdk/dist/svm/venues/xorca/index.d.ts
The single global State PDA - seed ["state"] under XORCA_PROGRAM_ID,
bump 250. The single vault ATA - seed [statePda, tokenProgram, orcaMint]
under the ATA program, bump 254. Both re-derived independently via
getProgramDerivedAddress and cross-checked against the live account’s own
State.bump/State.vault_bump fields (250/254 exactly) AND against 3 real
mainnet Stake transactions’ account lists (see file header) - hardcoded
here rather than derived at call time because both are permanently fixed
(there is exactly one xORCA vault; the mints never change).
XORCA_VAULT_ATA
Variable · sdk/dist/svm/venues/xorca/index.d.ts
STATE_ESCROWED_OFFSET
Variable · sdk/dist/svm/venues/xorca/index.d.ts
State.escrowed_orca_amount, u64 LE.
VAULT_AMOUNT_OFFSET
Variable · sdk/dist/svm/venues/xorca/index.d.ts
SPL TokenAccount.amount, u64 LE - the vault’s live ORCA balance.
MINT_SUPPLY_OFFSET
Variable · sdk/dist/svm/venues/xorca/index.d.ts
SPL Mint.supply, u64 LE (4-byte COption tag + 32-byte pubkey precede it).
fetchXorcaConfig
Function · sdk/dist/svm/venues/xorca/index.d.ts
Singleton venue: pool must be XORCA_STATE_PDA (there is nothing else to
resolve it to). load re-reads the live account so a program
upgrade/migration is caught like any other vanished pool - never silently
misquoted - rather than trusting the hardcoded address blindly.
XorcaPoolConfig
Interface · sdk/dist/svm/venues/xorca/index.d.ts
