This repository has been archived by the owner on Apr 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bulk check if tokens have been wrapped
- Loading branch information
1 parent
4d3cfb3
commit c94200e
Showing
18 changed files
with
863 additions
and
660 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
441 changes: 0 additions & 441 deletions
441
abi/contracts/Meem/facets/MeemBaseFacet.sol/MeemBaseFacet.json
Large diffs are not rendered by default.
Oops, something went wrong.
481 changes: 461 additions & 20 deletions
481
abi/contracts/Meem/facets/MeemQueryFacet.sol/MeemQueryFacet.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 161 additions & 0 deletions
161
abi/contracts/Meem/interfaces/MeemStandard.sol/IMeemQueryStandard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
[ | ||
{ | ||
"inputs": [], | ||
"name": "childDepth", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "childrenOf", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "enum Chain", | ||
"name": "chain", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "contractAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "isNFTWrapped", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "numChildrenOf", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "ownedChildrenOf", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_owner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "tokenIdsOfOwner", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "tokenIds_", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "enum Chain", | ||
"name": "chain", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "contractAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct WrappedItem[]", | ||
"name": "items", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"name": "wrappedTokens", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.