kleros / stake-curate

Curate with indefinite, capital-efficient stake.
8 stars 3 forks source link

Refactor Account events #27

Closed greenlucid closed 2 years ago

greenlucid commented 2 years ago

You could refactor some account events onto a single AccountUpdate that emits accountId and fullStake (either compressed or uncompressed, we'll figure it out)

Sort of related, wallet as a name field is a very bad name. owner is better.

greenlucid commented 2 years ago

as I typed this, I realized the rationale for the Account events being different. one only relays the new Account fullStake. the only one relays the new Account fullstake and lets you know withdrawingTimestamp is back at 0.