Comments (9)
@fubuloubu has anyone agreed to tackle this yet? if not, i'd be willing to give it a go
primarily experienced with golang and python, but have worked extensively with contracts/solidity so feel like I should be able to do this pretty easily by this weekend if its helpful
from yearn-vaults.
granular is better, some parameters are not uint256
from yearn-vaults.
@hrharder please keep them! I only added them to the Registry in that PR (still WIP), had not added them to the Vault yet.
Also, only have one event for when the transfer is accepted (e.g. UpdateGovernance
), not when pending is set.
from yearn-vaults.
Reviewed what you had so far, looking good!
from yearn-vaults.
@hrharder yes, you can give it a go. The following will serve as an aide. Please add events like these in Vault.vy for governance upgrade, strategy parameter updates (rate limit, debt limit, migration, etc.) and vault parameter upgrades (deposit limit, guest list, etc.) Thanks!
from yearn-vaults.
great!
you have a preference for one/a few types of events (e.g. ParameterUpdate
) with fields parameterName
, or many events? (e.g. UpdateRateLimit
, UpdateDebtLimit
, etc.)? Personally tend to prefer more granular events, but LMK
from yearn-vaults.
lmk if this is the correct direction #131
from yearn-vaults.
since you linked events for governance updates, I removed those in the PR's 2nd commit -- happy to re add if you like (seeing you did mention governance specifically in an above comment)
from yearn-vaults.
@hrharder please keep them! I only added them to the Registry in that PR (still WIP), had not added them to the Vault yet.
Also, only have one event for when the transfer is accepted (e.g.
UpdateGovernance
), not when pending is set.
gotcha! no problem -- added here
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.