Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

CLI option for max allowance #694

@arnaubennassar

Description

@arnaubennassar

instead of having to input a decimal number via CLI when approving have a different flago /option to set the max value. Internaly the amount should be 256 bits set to 1, something like:

MaxUint256 = new(big.Int).Sub(new(big.Int).Lsh(common.Big1, 256), common.Big1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmdPakage responsible for configuration, CLI and binaries. Eventually will go out of this repoimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions