Skip to content

jihok/defi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A set of Node scripts written in Typescript to automate Defi actions.

LoanManager

Helps maintain a healthy health factor on Aave's Polygon market with funds pooled in Curve's aToken pool. If the user's health factor dips below their desired health factor, the manager first checks if it can simply withdraw the aTokens from Curve to maximize MATIC farming (at least while that is still active). If folding the stablecoins into collateral isn't enough, the manager will repay as much as needed up to the total balance available in the Curve pool.

For this to be truly helpful, it should be called frequently either via scheduled serverless function calls or on a loop on an always-on machine.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published