deposit namespace emits deposit programs from protocol templates listed under DepositKey. Compile with baseDirs: [...deposit.DEPOSIT_BASE_DIRS], or COMPOSED_BASE_DIRS for a swap-then-deposit program.
sdk/dist/deposit/templates.d.ts.
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.deposit.DEPOSIT_TEMPLATES
Variable · sdk/dist/deposit/templates.d.ts
deposit.depositTemplateFor
Function · sdk/dist/deposit/templates.d.ts
Looks up a template by protocol:action, throwing (and listing every registered key) rather
than letting a caller emit a program that would misbehave on-chain - same posture as
toSwapParams’s guard on UndispatchablePoolType.
deposit.listDepositTemplates
Function · sdk/dist/deposit/templates.d.ts
deposit.DepositKey
Type · sdk/dist/deposit/templates.d.ts
