mev-commit icon indicating copy to clipboard operation
mev-commit copied to clipboard

Hash out how treasury account accumulates/withdraws fees

Open shaspitz opened this issue 1 year ago • 1 comments

Currently mev-commit chain base fees accumulate directly to this arbitrary placeholder address. Contract fees can be withdrawn from the contracts with this address. Neither of these accounts represent a treasury, multisig, receiver contract etc.

We need to hash out how the treasury will work for our chain and protocol. Where are fees accumulated? How are they withdrawn? Do we implement a receiver contract?

Also, how will this issue relate to #143? We'll need to decide if we have separate accounts for contract ownership and fee management, or consolidate.

Validator slashing would be on L1/holesky and will also be related.

In the previous contract repo I had a draft PR which may give some inspiration here: https://github.com/primev/contracts/pull/66

shaspitz avatar Jul 25 '24 18:07 shaspitz

Fees should accumulate on a multisig contract address, no withdraw necessary for now / no touch policy. Primev dev related multisig & accounts need to be separate from mev-commit treasury related ones

techgangboss avatar Jul 29 '24 20:07 techgangboss

Closing in favor of https://github.com/primev/mev-commit/issues/532

shaspitz avatar Dec 13 '24 02:12 shaspitz