Skip to content

Ability to turn off auto ticket redemption and manually redeem winning tickets #1757

Open
@yondonfu

Description

@yondonfu

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Winning tickets currently expire at the end of the next round. Due to high gas prices, a user may want to determine on their own when to redeem the ticket i.e. when gas prices are lower. May be useful to have the following options:

  • Turn off auto ticket redemption
  • Expose a webserver endpoint for redeeming 1 or many tickets. This endpoint could then be in a curl request or used in user defined custom scripts with conditions

Would be good to spec this out a bit more.

The auto redeem logic could also be updated to be a bit smarter with regard to current gas prices. For example, a suggestion from Discord:

Paying 0.12 ETH fees for a 0.17 ETH ticket.... couldn't the winning tickets somehow be redeemed at a later time (like within 24h)? E.g. only redeem when fees <50% of the value (but redeem anyways before it expires)

I could also see this type of logic being implemented in a user defined custom script if there was an endpoint for redeeming tickets.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions