* 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 |
||
---|---|---|
.. | ||
main.js | ||
token-swap-test.js |