Welcome to the Savings+ smart contracts repository by Autoscale. You can find here the technical specifications and the documentation.
This repository comprises three distinct types of smart contracts:
- Controller Contract - Orchestrates the interaction between users and other contracts.
- Vault Contract - Responsible for holding all rewards.
- Platforms Contract - Formalizes the interaction between the controller and the various DeFi platforms.
For the frontend of Savings+, please visit the savings-interface repository.
Interactions and deployment flow for the controller and vault contracts can be found in the interaction directory.
Interactions for the platforms contracts can be found in the interaction
folder in the specific platform directory (e.g. AshSwap)
By running the command python3 scripts/aprCalculator.py
, you can do some conversions and also calculate the amount of rewards for a given duration and APR.