Skip to content

ERC20 support #3

Description

@mehrdadmms

Goal

Apart from ETH, DAO should be able to set spending limit for desired ERC20 tokens through installation.

How

  • Create a mapping to store different tokens and their corresponding spending limit
  • Receive token address through calldata with the spending limit
  • Check DAO Action array for ERC20 token withdrawal and submit that to the DAO
  • Revert on any action other than withdrawal of the configured tokens
  • Update the updateSpendingLimit function to update the spending limit for ERC20 tokens as well

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions