Releases: fp-crypto/joint-strategy
Releases · fp-crypto/joint-strategy
v2.0
Hedgilv2 (#17) * fix: hedgil payout * feat: spirit hedgil joint (#13) * feat: harvest tests passing * fix: remove debugging event * feat: spooky hedgil (#16) * feat: spooky hedgil * feat: more * feat: working tests Co-authored-by: jmonteer <[email protected]> * fix: remove close in adjust position * feat: add daily harvest rewards * feat: add shouldStartEpoch flag + harvest rewards mid epoch * feat: hedgilv2 joint module * feat: wip * feat: no hedge module * feat: add solidex module * feat: add overriding router functions * fix: getPair accounting for stable * fix: separate solid interfaces * fix: set stable * fix: getAmountsOut * feat: add method to claim rewards manually * fix: typo + approve * feat: removed unused tests and implemented test using normal peoration through providers and manual operation (#19) * Fix: including sex sweep in tests (#20) * feat: removed unused tests and implemented test using normal peoration through providers and manual operation * fix: included sex token sweep * feat: correctly calculate rebalance on solidly stable pairs * fix: cast * feat: test imbalance * feat: test big swaps more * fix: another assert * feat: ySwaps * feat: test ySwaps WIP * feat: test ySwaps WIP * fix: tests (wip) * fix: tests (wip) * fix: missing files * Test new hedgilV2 with SpookyJoint (#21) * feat: import hedgilV2 joint instead of hedgilJoint * feat: added test ensuring correct setup of lp and hedgil positions * feat: added status printing functions for both joint and hedgil * feat: test opening positions, dumping some tokenA within range and closing * fix: added check for hedgilID 0 in getProfit * feat: added initial amount assert in test_open_position_price_change * feat: price change dumping tokenB * feat: added extreme price movement tests, with and without airdropping rewards * feat: included tests airdropping lp_tokens with positions open and closed * feat: added test of lp_tokens airdropped with positions closed * feat: added test sweeping the airdropped lp_tokens before starting the epoch * fix: cleanup test_airdrop.py * fix: conflicts (WIP) * fix: conflicts * Merge solidex with rest (#22) * feat: switch tests to tenderly * chore: cleanup * fix: assert * fix: use safeTransfer * fix: update maxPercentageLoss * fix: remove today * fix: update network * fix: assert * fix: init tf * feat: clsoe TODO: convert sex to solidsex Co-authored-by: FP <[email protected]> * feat: create folder structure * fix: create folder structure * fix: naming of airdrop_rewards * Hedgilv2 (#23) * fix: fixed hedgilv2 spooky tests with merge * fix: tests passing after nohedge merge * 16slim/refactor tests (#24) * fix: fixed hedgilv2 spooky tests with merge * fix: tests passing after nohedge merge * feat: refactor test folder and added nohedge harvest tests * feat: refactor tests and create hedge_type fixture to determine the test suite to run * fix: changed DAI whale and lp whale * feat: clean up tests to ensure joints are passing for other pairs * feat: new script finding mc_pid for a specific lp token * fix: changed sync price for non usd based pairs * fix: changed sync price for non usd based pairs * feat: included ETH token * feat: added fUSDT/WFTM * Update contracts/ProviderStrategy.sol * Update contracts/DEXes/SpiritJoint.sol * HedgilV2 new tests (#25) * fix: fixed hedgilv2 spooky tests with merge * fix: tests passing after nohedge merge * feat: included new test for manual operation of the joint * feat: included tests cloninf the joint and the providers * fix: migrateProvider is not a view * chore: minor changes in tests * fix: return spirit to hedgil v1 waiting for it to be tested * feat: added test to assess the automatic epoch rolling using harvest triggers and shouldstartepoch * feat: deployment script for providers and joint * fix: move setMaxpercentageLoss outside of if Co-authored-by: fp-crypto <[email protected]> Co-authored-by: 16slim <[email protected]> Co-authored-by: FP <[email protected]>