When matic rewards are higher than the APY for a loan, such as when matic was giving out rewards, we want to borrow as much as possible because they are simply paying us to borrow.
This script allows you to leverage therotically infinite times your captial.
It uses compound
to deposit and borrow against your deposited funds, and uncompound
to pay back your loans in as little transactions as possible.
Hopefully this fun little program can earn you a little 💸💸💸 😉