Skip to content

Commit

Permalink
fix: fix ERC-20/ERC-721 descriptors (#65)
Browse files Browse the repository at this point in the history
fix a few outdated/invalid parameters
  • Loading branch information
jnicoulaud-ledger authored Oct 21, 2024
1 parent 025f51d commit b1d6d96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ercs/calldata-erc20-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"label": "Amount",
"format": "tokenAmount",
"params": {
"tokenPath": "$.context.contract.address"
"tokenPath": "$.context.contract.deployments.[0].address"
}
}
],
Expand All @@ -86,7 +86,7 @@
"label": "Amount",
"format": "tokenAmount",
"params": {
"tokenPath": "$.context.contract.address",
"tokenPath": "$.context.contract.deployments.[0].address",
"threshold": "0x8000000000000000000000000000000000000000000000000000000000000000"
}
}
Expand Down
8 changes: 4 additions & 4 deletions ercs/calldata-erc721-nfts.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@
"label": "Collection",
"format": "addressName",
"params": {
"type": "nft"
"types": ["collection"]
}
},
{ "path": "_operator", "$ref": "$.display.definitions.operator" },
{
{
"path": "_approved",
"label": "Access rights",
"label": "Access rights",
"format": "enum",
"$params": { "$ref": "$.metadata.enums.rights" }
"params": { "$ref": "$.metadata.enums.rights" }
}
]
}
Expand Down

0 comments on commit b1d6d96

Please sign in to comment.