Commit Graph

5 Commits

Author SHA1 Message Date
Justin Starry 62e6a67eb2
lending: Split interest accrual into new instruction (#1115) 2021-01-22 08:40:44 +08:00
Justin Starry d1bc753359
lending: Use checked math and add prop tests (#1075)
* Use checked math and add prop tests

* Feedback

* Feedback

* Fix exchange rate test

* remove borrow compute unit limit

* Bump compute limit
2021-01-17 15:10:04 +08:00
Justin Starry 088f8f1fa8
lending: Store bump_seed in lending market to cut compute cost (#1065)
* lending: Store bump_seed in lending market to cut compute cost

* bump limits because CI uses more compute
2021-01-14 17:49:11 +08:00
Justin Starry 6a294f47f2
lending: add upper bound on cpu limits (#1049) 2021-01-11 09:46:57 +08: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