Michael Vines
9f4e6d8beb
Update to solana v1.4.4
2020-11-01 20:48:15 -08:00
Jon Cinque
9cd1cb0900
Token-swap: Add "production mode" hard-coded fee constraints ( #731 )
...
* Add statically configured program constraints
* Allow missing host fee account
* Run cargo fmt + clippy
* Update JS for new host fee account param
* Fix merge issues
* Add host fee to curve, constrain on curves
* Cleanup static variable
* Add production test to CI
Integrate review feedback
* Run cargo fmt, clippy, prettier
* Re-run cargo fmt
* Fix test for eslint / prettier clash
2020-10-29 12:52:17 +01:00
Michael Vines
211f92e8c6
Groom Cargo.tomls
2020-10-25 07:52:33 +00:00
Michael Vines
80e29ef6b9
Port SPL to solana-program and `cargo build-bpf`
2020-10-24 19:21:38 -07:00
Justin Starry
9a8fa8e845
Update SDK version to v1.3.17 ( #649 )
...
* Update SDK version to v1.3.17
* Fix clients
2020-10-19 18:07:45 +08:00
Jack May
a7b121074d
Remove skip-no-mangle entirely
2020-10-07 09:13:59 -07:00
Jack May
c574597d71
solana sdk does not need skip-no-mangle
2020-10-06 11:03:14 -07:00
Jon Cinque
2b07fc1064
token-swap: Assess swap fee on input token ( #562 )
...
* token-swap: Assess swap fee on input token
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Fix new var name everywhere
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-02 22:47:39 +02:00
Jack May
08fe8307f0
Bump solana-sdk to v1.3.12 ( #484 )
2020-09-21 08:38:29 -07:00
dependabot[bot]
9d9545c98d
Bump solana-sdk from 1.3.9 to 1.3.11 ( #454 )
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 09:22:53 +00:00
Jon Cinque
759cbb3866
Pack instructions and state more efficiently ( #420 )
...
* Pack instructions and state more efficiently
* SwapInfo and SwapInstruction are more memory-efficient, following the
example from SPL Token
* Remove unnecessary helper structs to make instructions clearer
* Error -> SwapError
* Update JS tests to reflect the change
* Integrate review feedback
2020-09-11 18:19:06 +02:00
Justin Starry
708bb430ab
Bump dependencies from 1.3.8 to 1.3.9 ( #415 )
2020-09-10 17:25:43 +08:00
Trent Nelson
b15eb09cfb
Bump solana crates to 1.3.8
2020-09-04 01:18:44 -06:00
Michael Vines
9e23bc94cb
Update to Solana 1.3.6
2020-08-29 22:12:00 +00:00
Michael Vines
0a47a3127c
Move c header generation out of build.rs
2020-08-27 23:32:07 -07:00
dependabot[bot]
036cca36b6
Bump solana-sdk from 1.3.2 to 1.3.4
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.2...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:05:29 -07:00
Michael Vines
26ab9bb26a
Reorganize crates based on program
2020-08-08 15:25:47 -07:00