b0867c7e28
* Add mints to swap info * Add mints to JS * Add fee account in SwapInfo / init * Add test for 0 fee, init test fully * Add withdraw command interface * Add fee accounts to swap instruction * Add calculations for swap and withdraw fees * Run cargo fmt * Add new fees to JS and test * Review feedback: fixup instruction doc and clone * Update order of accounts in instructions * Run cargo fmt * Fix owner fee pool token calculation to include trading fee * Add owner fees to flat curve, per request * Fix instruction comment numbering * Add more errors types for clearer calculation errors Add a check for withdrawing from fee account * Cargo fmt |
||
---|---|---|
.. | ||
js | ||
program | ||
.gitignore | ||
README.md |
README.md
Token-swap program
A Uniswap-like exchange for the Token program on the Solana blockchain.
Full documentation is available at https://spl.solana.com
JavaScript binding are available in the ./js
directory.