Skip to content

Commit

Permalink
faet: first NFT contract
Browse files Browse the repository at this point in the history
  • Loading branch information
uzairbangee committed Sep 7, 2021
0 parents commit 89085b3
Show file tree
Hide file tree
Showing 274 changed files with 122,177 additions and 0 deletions.
8,064 changes: 8,064 additions & 0 deletions build/contracts/Address.json

Large diffs are not rendered by default.

506 changes: 506 additions & 0 deletions build/contracts/Context.json

Large diffs are not rendered by default.

1,686 changes: 1,686 additions & 0 deletions build/contracts/Counters.json

Large diffs are not rendered by default.

620 changes: 620 additions & 0 deletions build/contracts/ERC165.json

Large diffs are not rendered by default.

36,449 changes: 36,449 additions & 0 deletions build/contracts/ERC721.json

Large diffs are not rendered by default.

3,597 changes: 3,597 additions & 0 deletions build/contracts/ERC721URIStorage.json

Large diffs are not rendered by default.

334 changes: 334 additions & 0 deletions build/contracts/IERC165.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,334 @@
{
"contractName": "IERC165",
"abi": [
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"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.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"berlin\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0xa28007762d9da9db878dd421960c8cb9a10471f47ab5c1b3309bfe48e9e79ff4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://796ab6e88af7bf0e78def0f059310c903af6a312b565344e0ff524a0f26e81c6\",\"dweb:/ipfs/QmcsVgLgzWdor3UnAztUkXKNGcysm1MPneWksF72AvnwBx\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n",
"sourcePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
"ast": {
"absolutePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
1840
]
},
"id": 1841,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1830,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "33:23:11"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 1831,
"nodeType": "StructuredDocumentation",
"src": "58:279:11",
"text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."
},
"fullyImplemented": false,
"id": 1840,
"linearizedBaseContracts": [
1840
],
"name": "IERC165",
"nameLocation": "348:7:11",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 1832,
"nodeType": "StructuredDocumentation",
"src": "362:340:11",
"text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."
},
"functionSelector": "01ffc9a7",
"id": 1839,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "716:17:11",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1835,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1834,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "741:11:11",
"nodeType": "VariableDeclaration",
"scope": 1839,
"src": "734:18:11",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 1833,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "734:6:11",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "733:20:11"
},
"returnParameters": {
"id": 1838,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1837,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 1839,
"src": "777:4:11",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1836,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "777:4:11",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "776:6:11"
},
"scope": 1840,
"src": "707:76:11",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 1841,
"src": "338:447:11",
"usedErrors": []
}
],
"src": "33:753:11"
},
"legacyAST": {
"absolutePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
1840
]
},
"id": 1841,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1830,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "33:23:11"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 1831,
"nodeType": "StructuredDocumentation",
"src": "58:279:11",
"text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."
},
"fullyImplemented": false,
"id": 1840,
"linearizedBaseContracts": [
1840
],
"name": "IERC165",
"nameLocation": "348:7:11",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 1832,
"nodeType": "StructuredDocumentation",
"src": "362:340:11",
"text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."
},
"functionSelector": "01ffc9a7",
"id": 1839,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "716:17:11",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1835,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1834,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "741:11:11",
"nodeType": "VariableDeclaration",
"scope": 1839,
"src": "734:18:11",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 1833,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "734:6:11",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "733:20:11"
},
"returnParameters": {
"id": 1838,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1837,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 1839,
"src": "777:4:11",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1836,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "777:4:11",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "776:6:11"
},
"scope": 1840,
"src": "707:76:11",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 1841,
"src": "338:447:11",
"usedErrors": []
}
],
"src": "33:753:11"
},
"compiler": {
"name": "solc",
"version": "0.8.6+commit.11564f7e.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.4.3",
"updatedAt": "2021-09-07T13:34:26.837Z",
"devdoc": {
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
"kind": "dev",
"methods": {
"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."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
Loading

0 comments on commit 89085b3

Please sign in to comment.