211 lines
7.3 KiB
JSON
211 lines
7.3 KiB
JSON
{
|
|
"contractName": "IMetaData",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "token",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "tokenId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "getMetaData",
|
|
"outputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getMetaData\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IMetaData.sol\":\"IMetaData\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IMetaData.sol\":{\"keccak256\":\"0x30907dd89502219f11e6a2584bdcadecd842115ba17db1a86d3e5a43acdb8662\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e719ea33d0f10b6094da881360bc033248e90d0f6c85d590762c6b8e555e8bb2\",\"dweb:/ipfs/Qmf4MV5wH2fsE4nwheutoMKSZmoGghZrnr5pzgWMgm3Q9D\"]}},\"version\":1}",
|
|
"bytecode": "0x",
|
|
"deployedBytecode": "0x",
|
|
"immutableReferences": {},
|
|
"generatedSources": [],
|
|
"deployedGeneratedSources": [],
|
|
"sourceMap": "",
|
|
"deployedSourceMap": "",
|
|
"source": "// SPDX-License-Identifier: MIT\r\npragma solidity 0.8.10;\r\n\r\ninterface IMetaData {\r\n function getMetaData(\r\n address token,\r\n uint256 tokenId\r\n ) external view returns (string memory);\r\n}\r\n",
|
|
"sourcePath": "D:\\res\\CEBG\\becrypto\\contracts\\interfaces\\IMetaData.sol",
|
|
"ast": {
|
|
"absolutePath": "project:/contracts/interfaces/IMetaData.sol",
|
|
"exportedSymbols": {
|
|
"IMetaData": [
|
|
10588
|
|
]
|
|
},
|
|
"id": 10589,
|
|
"license": "MIT",
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 10578,
|
|
"literals": [
|
|
"solidity",
|
|
"0.8",
|
|
".10"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "33:23:49"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "IMetaData",
|
|
"contractDependencies": [],
|
|
"contractKind": "interface",
|
|
"fullyImplemented": false,
|
|
"id": 10588,
|
|
"linearizedBaseContracts": [
|
|
10588
|
|
],
|
|
"name": "IMetaData",
|
|
"nameLocation": "70:9:49",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"functionSelector": "f666196d",
|
|
"id": 10587,
|
|
"implemented": false,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "getMetaData",
|
|
"nameLocation": "94:11:49",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 10583,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 10580,
|
|
"mutability": "mutable",
|
|
"name": "token",
|
|
"nameLocation": "120:5:49",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 10587,
|
|
"src": "112:13:49",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 10579,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "112:7:49",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 10582,
|
|
"mutability": "mutable",
|
|
"name": "tokenId",
|
|
"nameLocation": "140:7:49",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 10587,
|
|
"src": "132:15:49",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 10581,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "132:7:49",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "105:47:49"
|
|
},
|
|
"returnParameters": {
|
|
"id": 10586,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 10585,
|
|
"mutability": "mutable",
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 10587,
|
|
"src": "176:13:49",
|
|
"stateVariable": false,
|
|
"storageLocation": "memory",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string"
|
|
},
|
|
"typeName": {
|
|
"id": 10584,
|
|
"name": "string",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "176:6:49",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_storage_ptr",
|
|
"typeString": "string"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "175:15:49"
|
|
},
|
|
"scope": 10588,
|
|
"src": "85:106:49",
|
|
"stateMutability": "view",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
}
|
|
],
|
|
"scope": 10589,
|
|
"src": "60:134:49",
|
|
"usedErrors": []
|
|
}
|
|
],
|
|
"src": "33:163:49"
|
|
},
|
|
"compiler": {
|
|
"name": "solc",
|
|
"version": "0.8.10+commit.fc410830.Emscripten.clang"
|
|
},
|
|
"networks": {},
|
|
"schemaVersion": "3.4.14",
|
|
"updatedAt": "2023-09-05T06:06:15.710Z",
|
|
"devdoc": {
|
|
"kind": "dev",
|
|
"methods": {},
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"version": 1
|
|
}
|
|
} |