Jon Cinque
ffe206357b
lending: Add owner and host fees ( #965 )
...
* lending: Add owner and host fees to layout and instructions
* Add fees math
* Run cargo fmt
* Assess fees only on borrow
* Fmt and clippy fix
* Fixup instruction comment numbering
* Add proptest and end-to-end tests for fees
* Address review feedback
* Add minimum tests
* Move host to the back of borrow
* Add error to borrow fee calculation
2021-01-06 22:35:43 +01:00
dependabot[bot]
7b81c0d3c0
build(deps): bump solana-program from 1.5.0 to 1.5.1 ( #1025 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.5.0 to 1.5.1.
- [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.5.0...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-04 13:51:29 +00:00
Jon Cinque
d14e403599
lending: Add test to generate and optionally dump genesis accounts ( #967 )
...
* Automate primordial accounts
* Add genesis account dumping as test
* Add test-dump-genesis-accounts feature flag to create state
* Run cargo fmt
* Delete gitignore
* Add test-bpf feature to genesis test
Co-authored-by: Justin Starry <justin@solana.com>
2020-12-28 19:15:50 +01:00
Justin Starry
891b6794f3
Introduce SPL Token Lending ( #696 )
...
* Add spl-token-lending
* lending-client
* cargo clippy
* Limit bpf tests
* Enable lending bpf tests
* Remove obligation signer requirement
* Fix token lending js cli test
* Fix
2020-12-19 08:17:07 +08:00
Michael Vines
8ae34d2137
Update to Solana 1.5.0
2020-12-17 21:24:30 -08:00
Michael Vines
158fa1dea6
Upgrade to Solana v1.4.14
2020-12-03 05:39:55 +00:00
dependabot[bot]
6aa1d8cce1
Bump solana-program from 1.4.9 to 1.4.13 ( #916 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.4.9 to 1.4.13.
- [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.4.9...v1.4.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 12:54:42 +00:00
Michael Vines
c6a4ac9a82
Bump solana version to v1.4.9
2020-11-17 20:02:17 -08:00
Michael Vines
f4af9054a2
Update to Solana 1.4.8
2020-11-14 02:35:20 +00:00
Michael Vines
5030a87021
Upgrade to Solana 1.4.7
2020-11-12 11:05:20 -08:00
dependabot[bot]
b71456a8f1
Bump solana-program from 1.4.5 to 1.4.6 ( #826 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.4.5 to 1.4.6.
- [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.4.5...v1.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 12:39:52 +00:00
Michael Vines
238eabc1d0
Bump solana version to v1.4.5
2020-11-06 21:29:04 -08:00
Michael Vines
341149d0e9
Back to no-entrypoint feature name
2020-11-03 10:34:43 -08:00
Michael Vines
9f4e6d8beb
Update to solana v1.4.4
2020-11-01 20:48:15 -08: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
Justin Starry
a4f09fe05e
SPL token lending scaffolding ( #582 )
...
* Scaffolding for spl-token-lending program
* Scaffolding for TS client
2020-10-09 13:29:51 +08:00