Skip to content

UX to show "unlimited" on Approve screen per EIP717 #6469

@p-s-dev

Description

@p-s-dev

What problem are you trying to solve?
User are confused when seeing "you grant permission for this contract to spend up to 1.158e+59 of your DAI"

Describe the solution you'd like
User would more easily understand "you grant permission for this contract to spend an unlimited amount of your DAI"

Additional context
if (approveAmount == uint(-1)) : UxMessage = "an unlimited amount"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions