Comments (3)
yHegic strategies are also doing that same fix:
https://github.com/Macarse/yhegic/blob/master/contracts/strategies/StrategyHegic.sol#L102-L103
from yearn-vaults.
A better fix suggested by Sam
banteg/strategy-uni-lp-pickle@08f849a
from yearn-vaults.
It is intended that the implementer be aware of the amount freed, and that it should exceed neither the amount needed nor the amount the strategy currently has available to it locally. It is only intended to use this function in withdraw
but we can discuss further of how it could be used in other functions to reduce duplicated code in strategies.
from yearn-vaults.
Related Issues (20)
- add minShares to vault withdrawals HOT 14
- Add Slither Support to CI HOT 8
- Revoke should allow vault management role to call HOT 3
- Migrate SPECIFICATION.md to yearn-devdocs
- Add Events for Deposits and Withdrawals
- What happened with the yETH or yWETH token? HOT 1
- Add Events in HealthCheck HOT 3
- Add Event in Sweep Function HOT 2
- Add Event in SetLockedProfitDegradation HOT 1
- Add availableLiquidity to baseStrategy HOT 1
- Update token balance to vault share calculation in unit test
- Fix: NewPendingGovernance event should use _governance
- Discuss: Update vaults to make them 4626 compatible HOT 2
- Depositor obtains BaseWrapper balance on pull deposit HOT 1
- make permit eip-2612 compliant HOT 1
- minshares not parsing HOT 1
- brownie verification issue on Arbiscan
- Hi
- Question about withdrawal behavior when Aave Utilization Rate is at 100% HOT 2
- Replace Black with Ruff HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yearn-vaults.