Skip to content

[V2] Yamato.redeemAll() for flashbots #89

Description

@0xMotoko

Problem

Harm

  • Given there's a redemption efficiency graph, it is constant.
  • Both a small redemption and a huge redemption pay a few percent of txcost.

Cause

  • Traversing pledges and expensing each one.
  • Larger redemption, more traversing and processing.

Solution

  • redeemAll() and expense all pledges at once. txcost will be cheaper.
  • Given there's a redemption efficiency graph, it will be linear.
  • A huge redemption is more efficient.
  • Flashbots are much more profitable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions