bgd-labs / aave-governance-v3-interface Goto Github PK
View Code? Open in Web Editor NEWInterface to interact with the Aave Governance v3 smart contracts
Home Page: https://vote.onaave.com/
License: Other
Interface to interact with the Aave Governance v3 smart contracts
Home Page: https://vote.onaave.com/
License: Other
At the moment, the search works on the client side and only by the proposal title.
It would be nice to also search by proposal description. Most likely, this will require a separate API.
Since the Safe wallet is a contract, we cannot execute delegation tx with signatures. For delegation with the connection of the Safe wallet, we use regular delegation transactions, inside the Safe UI, the Safe SDK helps us to collect all these transactions into a batch of transactions and there are no problems with tx tracking in the our UI.
But if we connect a Safe wallet using Wallet Connect, then we cannot use Safe SDK and since there can be many transactions, there are problems with tracking the status for this transactions, at the moment there is a warning in the our UI about this.
links related to gnosis don't link to the proper explorer
The link here for Snapshot is wrong, as it is using the IPFS hash of the proposal instead of the Snapshot link
Example:
On https://vote.onaave.com/proposal/?proposalId=11, the link of "Snapshot voting" is https://snapshot.org/#/aave.eth/proposal/0x2fa324a635a80a4f64b8636199440b6ef8687135aa81ccf396570eb8aecc7bed (non-existent Snapshot link) where is actually the IPFS hash of the proposal https://vote.onaave.com/proposal/?proposalId=11&ipfsHash=0x2fa324a635a80a4f64b8636199440b6ef8687135aa81ccf396570eb8aecc7bed
The correct Snapshot link being https://snapshot.org/#/aave.eth/proposal/0xb8790aeb32267062c1500deb613ad15ebd5deac4d78d1786cb1690c12d0512c9
Due to incorrect calculation of gas, delegation does not execute all parameters that are passed. At the moment I have increased the gas in the tx.
We need to test how it will behave on mainnet
My idea is to expand the functionality of the UI and add to it the possibility of returning a fee for creating an proposal. @NikitaMesh and I thought about it and we see something like this flow and design:
Flow:
Default transaction window like in representation or delegation.
There will also be a button on the proposal details screen for a cancellation fee refund (creator and when it's available only).
I think this will be enough.
Approximate implementation time:
Design: 1-2 days
Implementation: 2-4 days
(in parallel)
It would be good to have a section showing proposal info that is not particularly important for everyone, but might be important enough for some to show at least somewhere.
Follow up to: #77
At the moment, connecting through the Coinbase Wallet mobile application does not work when using Safari desktop, the application freezes.
We need to determine what the cause is and fix the problem.
Proposal search doesn't work correctly in some cases need take a look and fix.
At the moment the voting power block on the proposal details screen is located at the bottom on mobile devices, it might be worth moving it to the top
It would be nice to add an RPC switch to the UI
When there is currently an issue with the ipfs file, the ui faces two problems:
On scroll and metis there is no tenderly, therefore reports will never be available.
Let's link to the foundry report in this case.
- https://github.com/bgd-labs/seatbelt-gov-v3/blob/main/reports/payloads/534352/0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE/2.md
+ https://github.com/bgd-labs/seatbelt-gov-v3/blob/main/reports/payloads/534352/0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE/2_forge.md
Add an association for payloads details screen about which proposal they are attached to, if attached.
the voters box is jumping back to the top on every refresh
When proposal is ready to be executed, it doesn't make sense to show the text Proposal is time-locked
as when it is in time locked, it is not executable.
Provably should say Proposal can be executed
or even no text at all
I think the text shows previous state, but its a bit confusing on this specific step
In my eyes there's currently two things that are a bit lacking in regards to delegations:
While there is a list of delegates on the governance forum.
It is not immediately clear:
Therefore I think it would be great to have a page where all known delegatees are listed.
There could/should probably be a details page for each delegatee showing some analytics (to be improved down the road).
It would be great if on this potential details page there was a "1click delegate" functionality where the delegatee is pre-filled etc.
I think an initial implementation could be based just on a static set of known addresses. Down the road we might want to fetch delegats from onchain data instead, as not everyone is active on the forum and "voting activity" might be interesting for any voting address, not just delegates.
Add title "by BGD Labs" and two icons (Twitter add Site link). Component and block placement are in figma.
Even if there are more votes than initially visible when opening the popup, there is no element showing about the possibility of scroll, or even any count of votes in this view (there is outside, which actually should not most probably).
My proposal:
Show all ${count}
-> Show all
Scenario is the following:
This adds totally unnecessary extra gas to the transaction.
Solution: whenever there is no change on certain type of delegation and asset, nothing should be signed/submitted for it.
Currently, pagination and filtering on the proposal list screen are not written to the query string in the IPFS version
when a proposal has succeeded and the result has been bridged back to mainnet, currently the ui shows Pending execution.
. While technically that's correct (as it's pending execution of the proposal), it's also misleading as by execution ppl naturally understand execution of the payload, but in this case it's just he execution of the proposal = queuing of the payload.
Perhaps better "Pending payload queuing via proposal execution", idk
Currently the ui shows "will expire in x" as long as not all payloads have been queued.
As we know: the proposal was executed & the paylaods have not yet been queud, perhaps better to show sth lik "Pending payload queuing via bridge"
Not sure what "time-locked" means exactly... To me that state is quite confusing tbh.
If the proposal is executed & message is not yet bridged, should probably say exactly that "Awaiting queuing via bridge"
Quite sure especially @eboadom will not like the suggested messages, so plz suggest alternatives 😅
From a puristic view one could say should just be "pending queuing" in all cases... at for most users that's all the info they need.
I think i would still be confused with this though & it would hide problems (like failing automation) as from the ui alone will be hard to tell why its "pending queueing".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.