Comments (4)
The idea is to always return a hardcoded name so no need to use storage.
function name() external override pure returns (string memory) {
return "TestStrategy";
}
from yearn-vaults.
Some strategies are the same but just different want. So would like to set name in constructor. for instance leveraged dai and leveraged usdc comp farm are exactly the same. but I want to set the name to show want
from yearn-vaults.
I see no problems in doing this
from yearn-vaults.
Fixed in #144
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.