{ "contractName": "FactoryBase", "abi": [], "metadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/logic/FactoryBase.sol\":\"FactoryBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/logic/FactoryBase.sol\":{\"keccak256\":\"0x274879d95a0a3f3c22f3ee62d596fc9b4e69815c183ecaf698d1fbc0699b8f82\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e82aae9f1158982cb066c3758a1df7cc36e5e05f1169a1cb5c35954c93cdfb8c\",\"dweb:/ipfs/QmaHXwfHso1fwn8EbSTJHGbWnnJTM19EVYSgtt8AEhZz8i\"]}},\"version\":1}", "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212201a9b02ae5e23d379516edf5d9af336e56cac2bda36255ccb10d8e11378f6357f64736f6c634300080a0033", "deployedBytecode": "0x6080604052600080fdfea26469706673582212201a9b02ae5e23d379516edf5d9af336e56cac2bda36255ccb10d8e11378f6357f64736f6c634300080a0033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], "sourceMap": "57:180:14:-:0;;;;;;;;;;;;;;;;;;;", "deployedSourceMap": "57:180:14:-:0;;;;;", "source": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.10;\n\ncontract FactoryBase {\n struct ShardParam {\n address to;\n uint256 tokenId;\n address payToken;\n uint256 tokenAmount;\n uint256 startTime;\n uint256 saltNonce;\n }\n}", "sourcePath": "/Users/zhl/Documents/workspace/game/becrypto/contracts/logic/FactoryBase.sol", "ast": { "absolutePath": "project:/contracts/logic/FactoryBase.sol", "exportedSymbols": { "FactoryBase": [ 2024 ] }, "id": 2025, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 2010, "literals": [ "solidity", "0.8", ".10" ], "nodeType": "PragmaDirective", "src": "32:23:14" }, { "abstract": false, "baseContracts": [], "canonicalName": "FactoryBase", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "id": 2024, "linearizedBaseContracts": [ 2024 ], "name": "FactoryBase", "nameLocation": "66:11:14", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "FactoryBase.ShardParam", "id": 2023, "members": [ { "constant": false, "id": 2012, "mutability": "mutable", "name": "to", "nameLocation": "114:2:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "106:10:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 2011, "name": "address", "nodeType": "ElementaryTypeName", "src": "106:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 2014, "mutability": "mutable", "name": "tokenId", "nameLocation": "130:7:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "122:15:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2013, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "122:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2016, "mutability": "mutable", "name": "payToken", "nameLocation": "151:8:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "143:16:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 2015, "name": "address", "nodeType": "ElementaryTypeName", "src": "143:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 2018, "mutability": "mutable", "name": "tokenAmount", "nameLocation": "173:11:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "165:19:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2017, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "165:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2020, "mutability": "mutable", "name": "startTime", "nameLocation": "198:9:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "190:17:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2019, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "190:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2022, "mutability": "mutable", "name": "saltNonce", "nameLocation": "221:9:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "213:17:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2021, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "213:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "name": "ShardParam", "nameLocation": "89:10:14", "nodeType": "StructDefinition", "scope": 2024, "src": "82:153:14", "visibility": "public" } ], "scope": 2025, "src": "57:180:14", "usedErrors": [] } ], "src": "32:205:14" }, "legacyAST": { "absolutePath": "project:/contracts/logic/FactoryBase.sol", "exportedSymbols": { "FactoryBase": [ 2024 ] }, "id": 2025, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 2010, "literals": [ "solidity", "0.8", ".10" ], "nodeType": "PragmaDirective", "src": "32:23:14" }, { "abstract": false, "baseContracts": [], "canonicalName": "FactoryBase", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "id": 2024, "linearizedBaseContracts": [ 2024 ], "name": "FactoryBase", "nameLocation": "66:11:14", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "FactoryBase.ShardParam", "id": 2023, "members": [ { "constant": false, "id": 2012, "mutability": "mutable", "name": "to", "nameLocation": "114:2:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "106:10:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 2011, "name": "address", "nodeType": "ElementaryTypeName", "src": "106:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 2014, "mutability": "mutable", "name": "tokenId", "nameLocation": "130:7:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "122:15:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2013, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "122:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2016, "mutability": "mutable", "name": "payToken", "nameLocation": "151:8:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "143:16:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 2015, "name": "address", "nodeType": "ElementaryTypeName", "src": "143:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 2018, "mutability": "mutable", "name": "tokenAmount", "nameLocation": "173:11:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "165:19:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2017, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "165:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2020, "mutability": "mutable", "name": "startTime", "nameLocation": "198:9:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "190:17:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2019, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "190:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2022, "mutability": "mutable", "name": "saltNonce", "nameLocation": "221:9:14", "nodeType": "VariableDeclaration", "scope": 2023, "src": "213:17:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2021, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "213:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "name": "ShardParam", "nameLocation": "89:10:14", "nodeType": "StructDefinition", "scope": 2024, "src": "82:153:14", "visibility": "public" } ], "scope": 2025, "src": "57:180:14", "usedErrors": [] } ], "src": "32:205:14" }, "compiler": { "name": "solc", "version": "0.8.10+commit.fc410830.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.4", "updatedAt": "2022-08-17T08:27:57.394Z", "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }