Skip to content

Shadow ERC20 allowance #1

Description

@Zergity

duplicate allowance logic from ERC20 to Shadow (using s_allowances in Shadow contract)

to check the approval:

  • if 1155.approveForAll, then return uint.max
  • otherwise, return s_allwances[owner][spender]

Note: make sure to utilize the max allowance logic (ethereum/EIPs#717)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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