UNPKG

@thirdweb-dev/contracts-js

Version:
88 lines 1.59 kB
[ { "type": "function", "name": "encryptDecrypt", "inputs": [ { "name": "data", "type": "bytes", "internalType": "bytes" }, { "name": "key", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "result", "type": "bytes", "internalType": "bytes" } ], "stateMutability": "pure" }, { "type": "function", "name": "encryptedBaseURI", "inputs": [ { "name": "identifier", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bytes", "internalType": "bytes" } ], "stateMutability": "view" }, { "type": "function", "name": "reveal", "inputs": [ { "name": "identifier", "type": "uint256", "internalType": "uint256" }, { "name": "key", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "revealedURI", "type": "string", "internalType": "string" } ], "stateMutability": "nonpayable" }, { "type": "event", "name": "TokenURIRevealed", "inputs": [ { "name": "index", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "revealedURI", "type": "string", "indexed": false, "internalType": "string" } ], "anonymous": false } ]