solana-program-library/token-lending
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
..
client lending: Add owner and host fees (#965) 2021-01-06 22:35:43 +01:00
js build(deps-dev): bump rollup from 2.35.1 to 2.36.0 in /token-lending/js (#1036) 2021-01-06 10:44:40 +00:00
program lending: Add owner and host fees (#965) 2021-01-06 22:35:43 +01:00
README.md Introduce SPL Token Lending (#696) 2020-12-19 08:17:07 +08:00

README.md

Token-lending program

A lending protocol for the Token program on the Solana blockchain inspired by Aave and Compound.

Full documentation is available at https://spl.solana.com/token-lending

Web3 bindings are available in the ./js directory.