Skip to content

Commit

Permalink
feat: add schemas for LSP8 + LSP17
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Sep 21, 2023
1 parent bfa4258 commit ab5d196
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
9 changes: 9 additions & 0 deletions schemas/LSP17ContractExtension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"name": "LSP17Extension:<bytes4>",
"key": "0xcee78b4094da860110960000<bytes4>",
"keyType": "Mapping",
"valueType": "address",
"valueContent": "Address"
}
]
30 changes: 30 additions & 0 deletions schemas/LSP8IdentifiableDigitalAsset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"name": "LSP8TokenIdType",
"key": "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4",
"keyType": "Singleton",
"valueType": "uint256",
"valueContent": "Number"
},
{
"name": "LSP8MetadataTokenURI:<address|uint256|bytes32|string>",
"key": "0x4690256ef7e93288012f0000<address|uint256|bytes32|string>",
"keyType": "Mapping",
"valueType": "(bytes4,string)",
"valueContent": "(Bytes4,URI)"
},
{
"name": "LSP8TokenMetadataBaseURI",
"key": "0x1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa2843",
"keyType": "Singleton",
"valueType": "(bytes4,string)",
"valueContent": "(Bytes4,URI)"
},
{
"name": "LSP8ReferenceContract",
"key": "0x708e7b881795f2e6b6c2752108c177ec89248458de3bf69d0d43480b3e5034e6",
"keyType": "Singleton",
"valueType": "(address,bytes32)",
"valueContent": "(Address,bytes32)"
}
]

0 comments on commit ab5d196

Please sign in to comment.