Giter VIP home page Giter VIP logo

Comments (9)

hrharder avatar hrharder commented on July 26, 2024 1

@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.

fubuloubu avatar fubuloubu commented on July 26, 2024 1

granular is better, some parameters are not uint256

from yearn-vaults.

fubuloubu avatar fubuloubu commented on July 26, 2024 1

@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.

fubuloubu avatar fubuloubu commented on July 26, 2024 1

Reviewed what you had so far, looking good!

from yearn-vaults.

fubuloubu avatar fubuloubu commented on July 26, 2024

@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!

https://github.com/iearn-finance/yearn-vaults/pull/124/files#diff-096c8e9d951cde1c28070e4ef10658a45c746777741fbefd68749a5ba3fe6f30R54-R55

from yearn-vaults.

hrharder avatar hrharder commented on July 26, 2024

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.

hrharder avatar hrharder commented on July 26, 2024

lmk if this is the correct direction #131

from yearn-vaults.

hrharder avatar hrharder commented on July 26, 2024

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 avatar hrharder commented on July 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.