Jon Cinque
7190672a0f
token-swap: Add instructions to deposit / withdraw one token ( #937 )
...
* Add instructions to deposit / withdraw one token
* Run cargo fmt
* Fix clippy issues
* Add JS interface
* Add tests for new instructions
* Run prettier
* Rename deposit and withdraw
* Rename withdraw -> withdraw all in program
* Rename single token instructions
2020-12-16 10:02:27 +01:00
Jon Cinque
c677c58e09
Add JS test for creating accounts and swapping in one transaction ( #568 )
...
* Add test for doing all swap in one transaction
* Fix instruction to minimize signatures required
* Run prettier
2020-11-17 17:54:55 +01:00
Michael Vines
a22908bbd9
Relocate js
2020-08-08 15:25:47 -07:00
Michael Vines
26ab9bb26a
Reorganize crates based on program
2020-08-08 15:25:47 -07:00
Jack May
a831eddb8d
Use variant fields ( #90 )
2020-07-07 13:55:56 -07:00
Jack May
767741c235
Fix automation ( #81 )
2020-07-07 02:09:19 -07:00
Jack May
b292d4cb3f
Fix token-swap ( #72 )
2020-07-01 00:56:00 -07:00
anatoly yakovenko
97094e61e5
Token swap ( #50 )
...
* initial
* wip
* withdraw
* wip
* wip
* updates
* fix imports
* compiles
* check delegates
* wip
* wip
* wip
* fixup
* instruction serializer
* unpack func
* done!
* update
* wip docs
* docs
* boilerplate
* docs
* fix docs
* Add token-swap test
* Add token-swap js bindings
Co-authored-by: Jack May <[email protected] >
2020-06-30 15:37:35 -07:00