BLOCKCHAIN SMART CONTRACT SOLUTION NEEDED- TASK IS what is mentioned under deliverable
Budget: $10 – $30 USD
- This is a set of contracts that is live on Stakedao that use Opyn's options under the hood [https://github.com/opynfinance/Take-Home-Tasks](https://github.com/opynfinance/Take-Home-Tasks). The biggest pain point for users is that it is very expensive to deposit into the system and withdraw from the system. While other functions are helpful, the user facing functions are deposit and withdraw and matter the most.
- To learn about how the system works read this:
https://opynopyn.notion.site/Stakedao-Ecrv-Strategy-beda73c94ae4492587ba3e50da8d82e6
# Deliverable
- Please fork this repo and make changes on your with gas optimizations for the [PerpVault.sol](https://github.com/opynfinance/Take-Home-Tasks/tree/master/contracts/core) and [ShortOTokenWithSwapAction.sol](https://github.com/opynfinance/Take-Home-Tasks/tree/master/contracts/actions) contracts and email us your fork
- If you find some opportunities for improvement where optimizing as needs a major refactor, please do write the steps/strategy on how you think we can do that in a README file. As do not want you to spend days on this. As expect this to be done in few hours
- Make sure it compiles
- Please submit a screenshot or output of `npm run test` the gas usage savings.
- Describe how much percentage gas is being saved due to your changes
# Note
- Please look out for security vulnerabilities during the exercise, and either report them to us or address them also as part of the PR/branch
# Resources:
- [https://opyn.gitbook.io/perp-vault/architecture/](https://opyn.gitbook.io/perp-vault/architecture/) (The docs are of the newest version, this is an older version of the code)
- To learn about how the system works read this:
https://opynopyn.notion.site/Stakedao-Ecrv-Strategy-beda73c94ae4492587ba3e50da8d82e6
# Deliverable
- Please fork this repo and make changes on your with gas optimizations for the [PerpVault.sol](https://github.com/opynfinance/Take-Home-Tasks/tree/master/contracts/core) and [ShortOTokenWithSwapAction.sol](https://github.com/opynfinance/Take-Home-Tasks/tree/master/contracts/actions) contracts and email us your fork
- If you find some opportunities for improvement where optimizing as needs a major refactor, please do write the steps/strategy on how you think we can do that in a README file. As do not want you to spend days on this. As expect this to be done in few hours
- Make sure it compiles
- Please submit a screenshot or output of `npm run test` the gas usage savings.
- Describe how much percentage gas is being saved due to your changes
# Note
- Please look out for security vulnerabilities during the exercise, and either report them to us or address them also as part of the PR/branch
# Resources:
- [https://opyn.gitbook.io/perp-vault/architecture/](https://opyn.gitbook.io/perp-vault/architecture/) (The docs are of the newest version, this is an older version of the code)