Commit 602823f
Edward (OpenClaw)
docs(asset-leasing): note that swap composition is the frontend's job, not the program's
Clarify that take_lease does not perform the A->B swap. The program
deliberately stays narrow (a token-leasing primitive); the DEX swap
belongs in the frontend, bundled with take_lease in a single tx so the
short seller signs once and the atomicity is preserved by Solana's
transaction semantics. Avoids scope creep, removes a Jupiter
dependency from the program, and keeps the tutorial value of the
example tight.1 parent 0c64894 commit 602823f
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
0 commit comments