non-fungible-apps/out/IERC721.sol/IERC721.json

2051 lines
78 KiB
JSON

{
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "approved",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "_approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": {
"object": "0x",
"sourceMap": "",
"linkReferences": {}
},
"deployedBytecode": {
"object": "0x",
"sourceMap": "",
"linkReferences": {}
},
"methodIdentifiers": {
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"getApproved(uint256)": "081812fc",
"isApprovedForAll(address,address)": "e985e9c5",
"ownerOf(uint256)": "6352211e",
"safeTransferFrom(address,address,uint256)": "42842e0e",
"safeTransferFrom(address,address,uint256,bytes)": "b88d4fde",
"setApprovalForAll(address,bool)": "a22cb465",
"supportsInterface(bytes4)": "01ffc9a7",
"transferFrom(address,address,uint256)": "23b872dd"
},
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@ensdomains/=node_modules/@ensdomains/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eth-gas-reporter/=node_modules/eth-gas-reporter/\",\":forge-std/=lib/forge-std/src/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"],\"viaIR\":true},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}",
"metadata": {
"compiler": {
"version": "0.8.17+commit.8df45f5f"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "approved",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Approval",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "operator",
"type": "address",
"indexed": true
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
"indexed": false
}
],
"type": "event",
"name": "ApprovalForAll",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "to",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Transfer",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "approve"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
]
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"name": "getApproved",
"outputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
}
]
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
]
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"name": "ownerOf",
"outputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
]
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "safeTransferFrom"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "safeTransferFrom"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "_approved",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setApprovalForAll"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function",
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
]
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "transferFrom"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event."
},
"balanceOf(address)": {
"details": "Returns the number of tokens in ``owner``'s account."
},
"getApproved(uint256)": {
"details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."
},
"isApprovedForAll(address,address)": {
"details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"
},
"ownerOf(uint256)": {
"details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."
},
"safeTransferFrom(address,address,uint256)": {
"details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event."
},
"safeTransferFrom(address,address,uint256,bytes)": {
"details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event."
},
"setApprovalForAll(address,bool)": {
"details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event."
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
},
"transferFrom(address,address,uint256)": {
"details": "Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"remappings": [
":@ensdomains/=node_modules/@ensdomains/",
":@openzeppelin/=node_modules/@openzeppelin/",
":ds-test/=lib/forge-std/lib/ds-test/src/",
":eth-gas-reporter/=node_modules/eth-gas-reporter/",
":forge-std/=lib/forge-std/src/",
":hardhat-deploy/=node_modules/hardhat-deploy/",
":hardhat/=node_modules/hardhat/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"bytecodeHash": "ipfs"
},
"compilationTarget": {
"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": "IERC721"
},
"libraries": {},
"viaIR": true
},
"sources": {
"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": {
"keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68",
"urls": [
"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56",
"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3"
],
"license": "MIT"
},
"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
"urls": [
"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
],
"license": "MIT"
}
},
"version": 1
},
"ast": {
"absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol",
"id": 26836,
"exportedSymbols": {
"IERC165": [
27564
],
"IERC721": [
26835
]
},
"nodeType": "SourceUnit",
"src": "108:4868:19",
"nodes": [
{
"id": 26721,
"nodeType": "PragmaDirective",
"src": "108:23:19",
"nodes": [],
"literals": [
"solidity",
"^",
"0.8",
".0"
]
},
{
"id": 26722,
"nodeType": "ImportDirective",
"src": "133:47:19",
"nodes": [],
"absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"file": "../../utils/introspection/IERC165.sol",
"nameLocation": "-1:-1:-1",
"scope": 26836,
"sourceUnit": 27565,
"symbolAliases": [],
"unitAlias": ""
},
{
"id": 26835,
"nodeType": "ContractDefinition",
"src": "250:4725:19",
"nodes": [
{
"id": 26734,
"nodeType": "EventDefinition",
"src": "378:82:19",
"nodes": [],
"anonymous": false,
"documentation": {
"id": 26726,
"nodeType": "StructuredDocumentation",
"src": "285:88:19",
"text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`."
},
"eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"name": "Transfer",
"nameLocation": "384:8:19",
"parameters": {
"id": 26733,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26728,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nameLocation": "409:4:19",
"nodeType": "VariableDeclaration",
"scope": 26734,
"src": "393:20:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26727,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "393:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26730,
"indexed": true,
"mutability": "mutable",
"name": "to",
"nameLocation": "431:2:19",
"nodeType": "VariableDeclaration",
"scope": 26734,
"src": "415:18:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26729,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "415:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26732,
"indexed": true,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "451:7:19",
"nodeType": "VariableDeclaration",
"scope": 26734,
"src": "435:23:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26731,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "435:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "392:67:19"
}
},
{
"id": 26743,
"nodeType": "EventDefinition",
"src": "565:89:19",
"nodes": [],
"anonymous": false,
"documentation": {
"id": 26735,
"nodeType": "StructuredDocumentation",
"src": "466:94:19",
"text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token."
},
"eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"name": "Approval",
"nameLocation": "571:8:19",
"parameters": {
"id": 26742,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26737,
"indexed": true,
"mutability": "mutable",
"name": "owner",
"nameLocation": "596:5:19",
"nodeType": "VariableDeclaration",
"scope": 26743,
"src": "580:21:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26736,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "580:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26739,
"indexed": true,
"mutability": "mutable",
"name": "approved",
"nameLocation": "619:8:19",
"nodeType": "VariableDeclaration",
"scope": 26743,
"src": "603:24:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26738,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "603:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26741,
"indexed": true,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "645:7:19",
"nodeType": "VariableDeclaration",
"scope": 26743,
"src": "629:23:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26740,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "629:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "579:74:19"
}
},
{
"id": 26752,
"nodeType": "EventDefinition",
"src": "782:85:19",
"nodes": [],
"anonymous": false,
"documentation": {
"id": 26744,
"nodeType": "StructuredDocumentation",
"src": "660:117:19",
"text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."
},
"eventSelector": "17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31",
"name": "ApprovalForAll",
"nameLocation": "788:14:19",
"parameters": {
"id": 26751,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26746,
"indexed": true,
"mutability": "mutable",
"name": "owner",
"nameLocation": "819:5:19",
"nodeType": "VariableDeclaration",
"scope": 26752,
"src": "803:21:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26745,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "803:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26748,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nameLocation": "842:8:19",
"nodeType": "VariableDeclaration",
"scope": 26752,
"src": "826:24:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26747,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "826:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26750,
"indexed": false,
"mutability": "mutable",
"name": "approved",
"nameLocation": "857:8:19",
"nodeType": "VariableDeclaration",
"scope": 26752,
"src": "852:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 26749,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "852:4:19",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "802:64:19"
}
},
{
"id": 26760,
"nodeType": "FunctionDefinition",
"src": "954:74:19",
"nodes": [],
"documentation": {
"id": 26753,
"nodeType": "StructuredDocumentation",
"src": "873:76:19",
"text": " @dev Returns the number of tokens in ``owner``'s account."
},
"functionSelector": "70a08231",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nameLocation": "963:9:19",
"parameters": {
"id": 26756,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26755,
"mutability": "mutable",
"name": "owner",
"nameLocation": "981:5:19",
"nodeType": "VariableDeclaration",
"scope": 26760,
"src": "973:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26754,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "973:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "972:15:19"
},
"returnParameters": {
"id": 26759,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26758,
"mutability": "mutable",
"name": "balance",
"nameLocation": "1019:7:19",
"nodeType": "VariableDeclaration",
"scope": 26760,
"src": "1011:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26757,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1011:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1010:17:19"
},
"scope": 26835,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"id": 26768,
"nodeType": "FunctionDefinition",
"src": "1170:72:19",
"nodes": [],
"documentation": {
"id": 26761,
"nodeType": "StructuredDocumentation",
"src": "1034:131:19",
"text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist."
},
"functionSelector": "6352211e",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "ownerOf",
"nameLocation": "1179:7:19",
"parameters": {
"id": 26764,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26763,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "1195:7:19",
"nodeType": "VariableDeclaration",
"scope": 26768,
"src": "1187:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26762,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1187:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1186:17:19"
},
"returnParameters": {
"id": 26767,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26766,
"mutability": "mutable",
"name": "owner",
"nameLocation": "1235:5:19",
"nodeType": "VariableDeclaration",
"scope": 26768,
"src": "1227:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26765,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1227:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1226:15:19"
},
"scope": 26835,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"id": 26780,
"nodeType": "FunctionDefinition",
"src": "1809:137:19",
"nodes": [],
"documentation": {
"id": 26769,
"nodeType": "StructuredDocumentation",
"src": "1248:556:19",
"text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."
},
"functionSelector": "b88d4fde",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "safeTransferFrom",
"nameLocation": "1818:16:19",
"parameters": {
"id": 26778,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26771,
"mutability": "mutable",
"name": "from",
"nameLocation": "1852:4:19",
"nodeType": "VariableDeclaration",
"scope": 26780,
"src": "1844:12:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26770,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1844:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26773,
"mutability": "mutable",
"name": "to",
"nameLocation": "1874:2:19",
"nodeType": "VariableDeclaration",
"scope": 26780,
"src": "1866:10:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26772,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1866:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26775,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "1894:7:19",
"nodeType": "VariableDeclaration",
"scope": 26780,
"src": "1886:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26774,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1886:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26777,
"mutability": "mutable",
"name": "data",
"nameLocation": "1926:4:19",
"nodeType": "VariableDeclaration",
"scope": 26780,
"src": "1911:19:19",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 26776,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1911:5:19",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1834:102:19"
},
"returnParameters": {
"id": 26779,
"nodeType": "ParameterList",
"parameters": [],
"src": "1945:0:19"
},
"scope": 26835,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"id": 26790,
"nodeType": "FunctionDefinition",
"src": "2644:108:19",
"nodes": [],
"documentation": {
"id": 26781,
"nodeType": "StructuredDocumentation",
"src": "1952:687:19",
"text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event."
},
"functionSelector": "42842e0e",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "safeTransferFrom",
"nameLocation": "2653:16:19",
"parameters": {
"id": 26788,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26783,
"mutability": "mutable",
"name": "from",
"nameLocation": "2687:4:19",
"nodeType": "VariableDeclaration",
"scope": 26790,
"src": "2679:12:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26782,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2679:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26785,
"mutability": "mutable",
"name": "to",
"nameLocation": "2709:2:19",
"nodeType": "VariableDeclaration",
"scope": 26790,
"src": "2701:10:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26784,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2701:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26787,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "2729:7:19",
"nodeType": "VariableDeclaration",
"scope": 26790,
"src": "2721:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26786,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2721:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "2669:73:19"
},
"returnParameters": {
"id": 26789,
"nodeType": "ParameterList",
"parameters": [],
"src": "2751:0:19"
},
"scope": 26835,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"id": 26800,
"nodeType": "FunctionDefinition",
"src": "3495:104:19",
"nodes": [],
"documentation": {
"id": 26791,
"nodeType": "StructuredDocumentation",
"src": "2758:732:19",
"text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n understand this adds an external call which potentially creates a reentrancy vulnerability.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event."
},
"functionSelector": "23b872dd",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferFrom",
"nameLocation": "3504:12:19",
"parameters": {
"id": 26798,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26793,
"mutability": "mutable",
"name": "from",
"nameLocation": "3534:4:19",
"nodeType": "VariableDeclaration",
"scope": 26800,
"src": "3526:12:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26792,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3526:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26795,
"mutability": "mutable",
"name": "to",
"nameLocation": "3556:2:19",
"nodeType": "VariableDeclaration",
"scope": 26800,
"src": "3548:10:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26794,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3548:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26797,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "3576:7:19",
"nodeType": "VariableDeclaration",
"scope": 26800,
"src": "3568:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26796,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3568:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "3516:73:19"
},
"returnParameters": {
"id": 26799,
"nodeType": "ParameterList",
"parameters": [],
"src": "3598:0:19"
},
"scope": 26835,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"id": 26808,
"nodeType": "FunctionDefinition",
"src": "4062:55:19",
"nodes": [],
"documentation": {
"id": 26801,
"nodeType": "StructuredDocumentation",
"src": "3605:452:19",
"text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event."
},
"functionSelector": "095ea7b3",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "approve",
"nameLocation": "4071:7:19",
"parameters": {
"id": 26806,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26803,
"mutability": "mutable",
"name": "to",
"nameLocation": "4087:2:19",
"nodeType": "VariableDeclaration",
"scope": 26808,
"src": "4079:10:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26802,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4079:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26805,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "4099:7:19",
"nodeType": "VariableDeclaration",
"scope": 26808,
"src": "4091:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26804,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "4091:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "4078:29:19"
},
"returnParameters": {
"id": 26807,
"nodeType": "ParameterList",
"parameters": [],
"src": "4116:0:19"
},
"scope": 26835,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"id": 26816,
"nodeType": "FunctionDefinition",
"src": "4437:70:19",
"nodes": [],
"documentation": {
"id": 26809,
"nodeType": "StructuredDocumentation",
"src": "4123:309:19",
"text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event."
},
"functionSelector": "a22cb465",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setApprovalForAll",
"nameLocation": "4446:17:19",
"parameters": {
"id": 26814,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26811,
"mutability": "mutable",
"name": "operator",
"nameLocation": "4472:8:19",
"nodeType": "VariableDeclaration",
"scope": 26816,
"src": "4464:16:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26810,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4464:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26813,
"mutability": "mutable",
"name": "_approved",
"nameLocation": "4487:9:19",
"nodeType": "VariableDeclaration",
"scope": 26816,
"src": "4482:14:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 26812,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "4482:4:19",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "4463:34:19"
},
"returnParameters": {
"id": 26815,
"nodeType": "ParameterList",
"parameters": [],
"src": "4506:0:19"
},
"scope": 26835,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"id": 26824,
"nodeType": "FunctionDefinition",
"src": "4657:79:19",
"nodes": [],
"documentation": {
"id": 26817,
"nodeType": "StructuredDocumentation",
"src": "4513:139:19",
"text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist."
},
"functionSelector": "081812fc",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getApproved",
"nameLocation": "4666:11:19",
"parameters": {
"id": 26820,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26819,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "4686:7:19",
"nodeType": "VariableDeclaration",
"scope": 26824,
"src": "4678:15:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26818,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "4678:7:19",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "4677:17:19"
},
"returnParameters": {
"id": 26823,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26822,
"mutability": "mutable",
"name": "operator",
"nameLocation": "4726:8:19",
"nodeType": "VariableDeclaration",
"scope": 26824,
"src": "4718:16:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26821,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4718:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4717:18:19"
},
"scope": 26835,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"id": 26834,
"nodeType": "FunctionDefinition",
"src": "4885:88:19",
"nodes": [],
"documentation": {
"id": 26825,
"nodeType": "StructuredDocumentation",
"src": "4742:138:19",
"text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}"
},
"functionSelector": "e985e9c5",
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isApprovedForAll",
"nameLocation": "4894:16:19",
"parameters": {
"id": 26830,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26827,
"mutability": "mutable",
"name": "owner",
"nameLocation": "4919:5:19",
"nodeType": "VariableDeclaration",
"scope": 26834,
"src": "4911:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26826,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4911:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 26829,
"mutability": "mutable",
"name": "operator",
"nameLocation": "4934:8:19",
"nodeType": "VariableDeclaration",
"scope": 26834,
"src": "4926:16:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26828,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "4926:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "4910:33:19"
},
"returnParameters": {
"id": 26833,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 26832,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 26834,
"src": "4967:4:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 26831,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "4967:4:19",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "4966:6:19"
},
"scope": 26835,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 26724,
"name": "IERC165",
"nameLocations": [
"271:7:19"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 27564,
"src": "271:7:19"
},
"id": 26725,
"nodeType": "InheritanceSpecifier",
"src": "271:7:19"
}
],
"canonicalName": "IERC721",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 26723,
"nodeType": "StructuredDocumentation",
"src": "182:67:19",
"text": " @dev Required interface of an ERC721 compliant contract."
},
"fullyImplemented": false,
"linearizedBaseContracts": [
26835,
27564
],
"name": "IERC721",
"nameLocation": "260:7:19",
"scope": 26836,
"usedErrors": []
}
],
"license": "MIT"
},
"id": 19
}