deposit namespace emits a program that makes protocol deposits, withdrawals, stakes or wraps from data. deposit.depositSource(spec) returns a function main() program with each call and its approval, which routes.compileSauceProgram compiles; deposit.listDepositTemplates() lists the supported calls, one template per protocol and action (aave-v3 supply, lido stake, weth unwrap, …).
@eco-incorp/sauce.
deposit.DEPOSIT_TEMPLATES
Variable · @eco-incorp/sauce
deposit.depositTemplateFor
Function · @eco-incorp/sauce
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.
deposit.listDepositTemplates
Function · @eco-incorp/sauce
deposit.DepositKey
Type · @eco-incorp/sauce
