Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solidly strategy #81

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tmmc39
Copy link

@tmmc39 tmmc39 commented Mar 21, 2023

Test Result for block number: 16876134

  SolidlyStrategyMainnet_USDC_WETH
Impersonating...
0xf00dD244228F51547f0563e60bCa65a30FBF5f7f
0xA8c24C16ad11D008eba1695D37417b47aB461a98
Fetching Underlying at:  0xcD452c162dA7761f08F656B8e5eDe3A385981378
New Vault Deployed:  0xD44474626d7B807777f8eD3f0887D1d2ADb94E5A
Strategy Deployed:  0x48686897e53fe8c994592b7f9e250c09CaBE6E22
Strategy and vault added to Controller.
    Happy path
loop  0
old shareprice:  1000000000000000000
new shareprice:  1000000000000000000
growth:  1
instant APR: 0 %
instant APY: 0 %
loop  1
old shareprice:  1000000000000000000
new shareprice:  1000358639451858360
growth:  1.0003586394518582
instant APR: 35.60572478048323 %
instant APY: 42.744151840132005 %
loop  2
old shareprice:  1000358639451858360
new shareprice:  1000717417368039832
growth:  1.0003586492903966
instant APR: 35.6067015505784 %
instant APY: 42.74554477030898 %
loop  3
old shareprice:  1000717417368039832
new shareprice:  1001076322209519471
growth:  1.0003586475415045
instant APR: 35.60652792056652 %
instant APY: 42.74529716295519 %
loop  4
old shareprice:  1001076322209519471
new shareprice:  1001181912661216463
growth:  1.0001054769245405
instant APR: 10.47174906838565 %
instant APY: 11.038019198057158 %
loop  5
old shareprice:  1001181912661216463
new shareprice:  1001181912661216463
growth:  1
instant APR: 0 %
instant APY: 0 %
loop  6
old shareprice:  1001181912661216463
new shareprice:  1001228055838492607
growth:  1.0000460887044527
instant APR: 4.5756865780603375 %
instant APY: 4.681686018639253 %
loop  7
old shareprice:  1001228055838492607
new shareprice:  1001274199015768751
growth:  1.000046086580382
instant APR: 4.575475700321529 %
instant APY: 4.68146529616964 %
loop  8
old shareprice:  1001274199015768751
new shareprice:  1001320347962308853
growth:  1.0000460902184292
instant APR: 4.57583688564723 %
instant APY: 4.681843343553593 %
loop  9
old shareprice:  1001320347962308853
new shareprice:  1001366496908848956
growth:  1.0000460880942188
instant APR: 4.575625994042376 %
instant APY: 4.681622606238767 %
vaultBalance:  4023910184789
earned!
Overall APR: 13.56658131105223 %
Overall APY: 14.527021722084154 %
earned!
      ✔ Farmer should earn money (25087ms)

contracts/strategies/solidly/SolidlyStrategy.sol Outdated Show resolved Hide resolved
test/solidly/usdc-weth.js Outdated Show resolved Hide resolved
test/solidly/usdc-weth.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants