taiko-mono
taiko-mono copied to clipboard
feat(bridge-ui): filter transactions
Pending transactions could be considered more important to the user than the rest of transactions, and therefore we might want to separate them into their own tab, or having a filter set by default. We might want to also have different type of filters or tabs to differentiate where the token has been bridged to, etc...
Other bridges have this idea in mind
Polygon:
Arbitrum:
We need to define "pending":
- On the source chain, if the bridge transaction is pending a confirmation, it is "pending"
- Once the source tx is confirmed, the claim transaction on the destination chain may also "pending" the signal root to be available, this is also a kind of "pending"
- Once the claim transaction is fired on the destination chain but has not been confirmed yet (in mempool), it is also "pending". This is the same type of "pending" as 1.
1 and 3 can be displayed as "pending confirmation", and 2 can be "pending bridging"
Bridge dapp v1 has been depreciated.