xorca, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
XORCA_PROGRAM_ID
Variable · @eco-incorp/sauce/svm
ORCA_MINT_ID
Variable · @eco-incorp/sauce/svm
Hardcoded program constants (cpi/token/mod.rs) - never stored as pool-account bytes.
XORCA_MINT_ID
Variable · @eco-incorp/sauce/svm
XORCA_STATE_PDA
Variable · @eco-incorp/sauce/svm
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 · @eco-incorp/sauce/svm
STATE_ESCROWED_OFFSET
Variable · @eco-incorp/sauce/svm
State.escrowed_orca_amount, u64 LE.
VAULT_AMOUNT_OFFSET
Variable · @eco-incorp/sauce/svm
SPL TokenAccount.amount, u64 LE - the vault’s live ORCA balance.
MINT_SUPPLY_OFFSET
Variable · @eco-incorp/sauce/svm
SPL Mint.supply, u64 LE (4-byte COption tag + 32-byte pubkey precede it).
fetchXorcaConfig
Function · @eco-incorp/sauce/svm
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 · @eco-incorp/sauce/svm
