You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the last placeholders we have is showing all proposals transferring 150 ETH to Gero, time to fix that.
With the action builder mostly complete we can now easily decode proposal actions.
We obviously cant show all of the actions when we can have huge numbers of actions and options for each proposal so we need some logic to prioritise the most important calls. In future we'll have a proper importance ranking but for now the below logic can work to order them.
REP minting is always most important
eg Mint 1% REP -> rossdev.eth
ENS contract interaction
eg (ENS icon) dxvote.eth
Spending calls (Approval + function call grouped together, same to address)
eg 1000 DAI -> Swap
Transfers
eg 1000 DAI -> rossdev.eth
Generic calls
eg Swap (taken from rich contract function name)
We should ideally show 2-3 actions but would be good to show as many as we can fit, maybe a fixed size that just cuts off after it wont fit?
The text was updated successfully, but these errors were encountered:
We should also have another layer of ordering ontop of the ones described above which shows proposal actions winning and past quorum first as these are most relevant
One of the last placeholders we have is showing all proposals transferring 150 ETH to Gero, time to fix that.
With the action builder mostly complete we can now easily decode proposal actions.
We obviously cant show all of the actions when we can have huge numbers of actions and options for each proposal so we need some logic to prioritise the most important calls. In future we'll have a proper importance ranking but for now the below logic can work to order them.
eg Mint 1% REP -> rossdev.eth
eg (ENS icon) dxvote.eth
eg 1000 DAI -> Swap
eg 1000 DAI -> rossdev.eth
eg Swap (taken from rich contract function name)
We should ideally show 2-3 actions but would be good to show as many as we can fit, maybe a fixed size that just cuts off after it wont fit?
The text was updated successfully, but these errors were encountered: