Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable support for ERC1155-based conditions #131

Open
4 tasks
piotr-roslaniec opened this issue Dec 7, 2022 · 0 comments
Open
4 tasks

Enable support for ERC1155-based conditions #131

piotr-roslaniec opened this issue Dec 7, 2022 · 0 comments
Labels
blocked The progress on this issue is blocked for some reason enhancement New feature or request

Comments

@piotr-roslaniec
Copy link
Contributor

piotr-roslaniec commented Dec 7, 2022

 "ERC1155_balance_batch": {
    "contractAddress": "0xaDD9D957170dF6F33982001E4c22eCCdd5539118",
    "standardContractType": "ERC1155",
    "chain": 1,
    "method": "balanceOfBatch",
    "parameters": [
      [":userAddress",":userAddress",":userAddress",":userAddress"],
      [1,2,10003,10004]
    ],
    "returnValueTest": {
      "comparator": ">",
      "value": 0
    }
  },
  • Add 'ERC1155' to EvmCondition.STANDARD_CONTRACT_TYPES
  • Implement "batch support" variant or wait for "full support" variant
  • Add relevant tests
  • Test manually on Tapir
@piotr-roslaniec piotr-roslaniec added enhancement New feature or request blocked The progress on this issue is blocked for some reason labels Dec 7, 2022
piotr-roslaniec added a commit to piotr-roslaniec/nucypher-ts that referenced this issue Dec 7, 2022
@piotr-roslaniec piotr-roslaniec mentioned this issue Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked The progress on this issue is blocked for some reason enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant