thehubbleproject / hubble-contracts

Hubble optimistic rollup
https://thehubbleproject.github.io/docs/
MIT License
133 stars 28 forks source link

Multi token transaction pool #626

Closed jacque006 closed 3 years ago

jacque006 commented 3 years ago

Broken off from https://github.com/thehubbleproject/hubble-contracts/issues/476

Problem

Currently, the client only supports transfers of a single token type via the first entry in feeRecievers, most commonly ExampleToken.

Solution

Implement a MultiTokenPool which can accept and prioritize transfers from many token types. Prioritization can be done by summing together all of the fees for transfers for a token type.

Out Of Scope