becrypto/build/contracts/IMetaData.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": "C:\\work\\CEBG\\becrypto\\contracts\\interfaces\\IMetaData.sol",
"ast": {
"absolutePath": "project:/contracts/interfaces/IMetaData.sol",
"exportedSymbols": {
"IMetaData": [
11120
]
},
"id": 11121,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 11110,
"literals": [
"solidity",
"0.8",
".10"
],
"nodeType": "PragmaDirective",
"src": "33:23:50"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IMetaData",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 11120,
"linearizedBaseContracts": [
11120
],
"name": "IMetaData",
"nameLocation": "70:9:50",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "f666196d",
"id": 11119,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getMetaData",
"nameLocation": "94:11:50",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 11115,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11112,
"mutability": "mutable",
"name": "token",
"nameLocation": "120:5:50",
"nodeType": "VariableDeclaration",
"scope": 11119,
"src": "112:13:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 11111,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "112:7:50",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 11114,
"mutability": "mutable",
"name": "tokenId",
"nameLocation": "140:7:50",
"nodeType": "VariableDeclaration",
"scope": 11119,
"src": "132:15:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 11113,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "132:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "105:47:50"
},
"returnParameters": {
"id": 11118,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11117,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 11119,
"src": "176:13:50",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 11116,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "176:6:50",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "175:15:50"
},
"scope": 11120,
"src": "85:106:50",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 11121,
"src": "60:134:50",
"usedErrors": []
}
],
"src": "33:163:50"
},
"compiler": {
"name": "solc",
"version": "0.8.10+commit.fc410830.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.4.14",
"updatedAt": "2024-04-15T08:05:15.502Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}