Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a reserve to earn interest on part of the inventory using Compound (or similar). Unwrap token feature #446

Open
ilanDoron opened this issue Sep 25, 2019 · 1 comment

Comments

@ilanDoron
Copy link
Contributor

ilanDoron commented Sep 25, 2019

Add some reserve API that can deposit part of the reserve inventory in on chain service with interest.
Compound is a good candidate.
Deposit API: To deposit funds from reserve to interest service.
Withdraw API: to withdraw from interest service to reserve.

In general, should be some capped amount of the funds. 10 - 20 %

consider automatic withdraw trigger when funds run out in the reserve.

@ilanDoron ilanDoron changed the title Add capability in reserve to deposit part of inventory in Compound (or other) Enable a reserve to earn interest on part of the inventory using Compound (or similar) Sep 25, 2019
@ilanDoron ilanDoron changed the title Enable a reserve to earn interest on part of the inventory using Compound (or similar) Enable a reserve to earn interest on part of the inventory using Compound (or similar). Unwrap token feature Dec 10, 2019
@ilanDoron
Copy link
Contributor Author

at the moment seems the extra gas cost taken from the taker is too high.
for example with chai it will be

Join 168k gas: https://etherscan.io/tx/0xde5d2260b0d0931a6b05707d32cf6dafb73f257126995314475aef4d03f363d7
Exit 126k gas: https://etherscan.io/tx/0xa16ab2a2617d9d5e7eb5a31ae2c5bae2421eed2914f6f1a6da3089377b9d7138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant