Skip to content

Get up to date view data of positions in Lending Pools ( AAVE, FUSE, COMPOUND )

License

Notifications You must be signed in to change notification settings

proxima424/libDEFI

 
 

Repository files navigation

libcompound

Get up to date cToken data using 20% less gas without mutating state.

Gas Benchmarks

Benchmarks taken from a recent run of the test suite on a mainnet fork.

LibCompound

Method balanceOfUnderlying Gas exchangeRateCurrent Gas
Direct Call 69,254 64,170
LibCompound 64,140 54,664

LibFuse

Method balanceOfUnderlying Gas exchangeRateCurrent Gas
Direct Call 100,738 95,485
LibFuse 71,419 65,582

Getting Started

git clone https://github.com/transmissions11/libcompound.git
cd libcompound
make

About

Get up to date view data of positions in Lending Pools ( AAVE, FUSE, COMPOUND )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 82.7%
  • Julia 9.8%
  • Shell 6.6%
  • Makefile 0.9%