becrypto/build/contracts/IEvolveFactory.json

1172 lines
43 KiB
JSON

{
"contractName": "IEvolveFactory",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "address",
"name": "nftAddress",
"type": "address"
},
{
"internalType": "uint256[2]",
"name": "tokenIds",
"type": "uint256[2]"
},
{
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "saltNonce",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "evolve721NFT",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "saltNonce",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "evolveChip",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "useSignature",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"nftAddress\",\"type\":\"address\"},{\"internalType\":\"uint256[2]\",\"name\":\"tokenIds\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saltNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"evolve721NFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saltNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"evolveChip\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"useSignature\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IEvolveFactory.sol\":\"IEvolveFactory\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\":{\"keccak256\":\"0x8e93de94c9062ebc94fb7e2e3929b0781ac6a2b7772e2f7a59045861c93e5be9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f920a631bf986c610fe573d3c70a2bb6f224f86f4a8550016470c7ee476c9ab5\",\"dweb:/ipfs/QmYzsyVMfnaREKHcHv5RPS8Xg5r1Q38E2SDsGBTnXeFWzb\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/contracts/interfaces/IBEERC1155.sol\":{\"keccak256\":\"0xa61de07e87094fa7b8ad99b09d180fd7d8fac9ba0643cf70c8bbc2a94a3b4460\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://385ebae014adf66890001930f30de91b0295556c69d985e5fffd89c10ecf3257\",\"dweb:/ipfs/QmRUJ5doDzhmja2BCmF1f864o9YPmnY8Jy4BYCFe29ppBm\"]},\"project:/contracts/interfaces/IBEERC721.sol\":{\"keccak256\":\"0x53ccf9e321e2ec0a8735bc02e4c6c9979599f5534a881ab3e35a28e6b014f07b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f22dd79a58255b1e458c222d604dd48662f27efc91002b5ed0e1d4f1886e9f1\",\"dweb:/ipfs/QmezhbFbJ98RXfVwhxgC7nxnXcq7RTMe2TtrBfmzYi6sA3\"]},\"project:/contracts/interfaces/IEvolveFactory.sol\":{\"keccak256\":\"0x767b8cf24502a9158e52a103f8b3ef2cbfc9ec179493bcc188afffd72c515a19\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9748866d96e990f3f026f4fcbcdd134453cfd66e396d9109691366e06001f4f\",\"dweb:/ipfs/QmdEWB4kShrYXViqkPniaiuYFfSXKiPfZGL7vkdjEVGx84\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.10;\nimport \"../interfaces/IBEERC721.sol\";\nimport \"../interfaces/IBEERC1155.sol\";\n\ninterface IEvolveFactory {\n function evolve721NFT(\n address to,\n address nftAddress,\n uint256[2] calldata tokenIds,\n uint256 startTime,\n uint256 saltNonce,\n bytes calldata signature\n ) external;\n\n function evolveChip(\n address to,\n uint256[] memory tokenIds,\n uint256 startTime,\n uint256 saltNonce,\n bytes calldata signature\n ) external;\n\n function useSignature(bytes calldata signature) external;\n}\n",
"sourcePath": "/Users/zhl/Documents/workspace/game/becrypto/contracts/interfaces/IEvolveFactory.sol",
"ast": {
"absolutePath": "project:/contracts/interfaces/IEvolveFactory.sol",
"exportedSymbols": {
"IBEERC1155": [
3176
],
"IBEERC721": [
3203
],
"IERC1155": [
1461
],
"IERC165": [
2842
],
"IERC721": [
1879
],
"IEvolveFactory": [
3244
]
},
"id": 3245,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3205,
"literals": [
"solidity",
"0.8",
".10"
],
"nodeType": "PragmaDirective",
"src": "32:23:18"
},
{
"absolutePath": "project:/contracts/interfaces/IBEERC721.sol",
"file": "../interfaces/IBEERC721.sol",
"id": 3206,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 3245,
"sourceUnit": 3204,
"src": "56:37:18",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "project:/contracts/interfaces/IBEERC1155.sol",
"file": "../interfaces/IBEERC1155.sol",
"id": 3207,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 3245,
"sourceUnit": 3177,
"src": "94:38:18",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IEvolveFactory",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 3244,
"linearizedBaseContracts": [
3244
],
"name": "IEvolveFactory",
"nameLocation": "144:14:18",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "e7e46064",
"id": 3224,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "evolve721NFT",
"nameLocation": "172:12:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3222,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3209,
"mutability": "mutable",
"name": "to",
"nameLocation": "198:2:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "190:10:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3208,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "190:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3211,
"mutability": "mutable",
"name": "nftAddress",
"nameLocation": "214:10:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "206:18:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3210,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "206:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3215,
"mutability": "mutable",
"name": "tokenIds",
"nameLocation": "250:8:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "230:28:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$2_calldata_ptr",
"typeString": "uint256[2]"
},
"typeName": {
"baseType": {
"id": 3212,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "230:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3214,
"length": {
"hexValue": "32",
"id": 3213,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "238:1:18",
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"nodeType": "ArrayTypeName",
"src": "230:10:18",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$2_storage_ptr",
"typeString": "uint256[2]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3217,
"mutability": "mutable",
"name": "startTime",
"nameLocation": "272:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "264:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3216,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "264:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3219,
"mutability": "mutable",
"name": "saltNonce",
"nameLocation": "295:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "287:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3218,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "287:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3221,
"mutability": "mutable",
"name": "signature",
"nameLocation": "325:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "310:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3220,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "310:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "184:154:18"
},
"returnParameters": {
"id": 3223,
"nodeType": "ParameterList",
"parameters": [],
"src": "347:0:18"
},
"scope": 3244,
"src": "163:185:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "2beb3dbf",
"id": 3238,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "evolveChip",
"nameLocation": "361:10:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3236,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3226,
"mutability": "mutable",
"name": "to",
"nameLocation": "385:2:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "377:10:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3225,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "377:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3229,
"mutability": "mutable",
"name": "tokenIds",
"nameLocation": "410:8:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "393:25:18",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3227,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "393:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3228,
"nodeType": "ArrayTypeName",
"src": "393:9:18",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3231,
"mutability": "mutable",
"name": "startTime",
"nameLocation": "432:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "424:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3230,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "424:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3233,
"mutability": "mutable",
"name": "saltNonce",
"nameLocation": "455:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "447:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3232,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "447:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3235,
"mutability": "mutable",
"name": "signature",
"nameLocation": "485:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "470:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3234,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "470:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "371:127:18"
},
"returnParameters": {
"id": 3237,
"nodeType": "ParameterList",
"parameters": [],
"src": "507:0:18"
},
"scope": 3244,
"src": "352:156:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "773c3fff",
"id": 3243,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "useSignature",
"nameLocation": "521:12:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3241,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3240,
"mutability": "mutable",
"name": "signature",
"nameLocation": "549:9:18",
"nodeType": "VariableDeclaration",
"scope": 3243,
"src": "534:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3239,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "534:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "533:26:18"
},
"returnParameters": {
"id": 3242,
"nodeType": "ParameterList",
"parameters": [],
"src": "568:0:18"
},
"scope": 3244,
"src": "512:57:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 3245,
"src": "134:437:18",
"usedErrors": []
}
],
"src": "32:540:18"
},
"legacyAST": {
"absolutePath": "project:/contracts/interfaces/IEvolveFactory.sol",
"exportedSymbols": {
"IBEERC1155": [
3176
],
"IBEERC721": [
3203
],
"IERC1155": [
1461
],
"IERC165": [
2842
],
"IERC721": [
1879
],
"IEvolveFactory": [
3244
]
},
"id": 3245,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3205,
"literals": [
"solidity",
"0.8",
".10"
],
"nodeType": "PragmaDirective",
"src": "32:23:18"
},
{
"absolutePath": "project:/contracts/interfaces/IBEERC721.sol",
"file": "../interfaces/IBEERC721.sol",
"id": 3206,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 3245,
"sourceUnit": 3204,
"src": "56:37:18",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "project:/contracts/interfaces/IBEERC1155.sol",
"file": "../interfaces/IBEERC1155.sol",
"id": 3207,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 3245,
"sourceUnit": 3177,
"src": "94:38:18",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IEvolveFactory",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 3244,
"linearizedBaseContracts": [
3244
],
"name": "IEvolveFactory",
"nameLocation": "144:14:18",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "e7e46064",
"id": 3224,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "evolve721NFT",
"nameLocation": "172:12:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3222,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3209,
"mutability": "mutable",
"name": "to",
"nameLocation": "198:2:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "190:10:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3208,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "190:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3211,
"mutability": "mutable",
"name": "nftAddress",
"nameLocation": "214:10:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "206:18:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3210,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "206:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3215,
"mutability": "mutable",
"name": "tokenIds",
"nameLocation": "250:8:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "230:28:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$2_calldata_ptr",
"typeString": "uint256[2]"
},
"typeName": {
"baseType": {
"id": 3212,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "230:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3214,
"length": {
"hexValue": "32",
"id": 3213,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "238:1:18",
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"nodeType": "ArrayTypeName",
"src": "230:10:18",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$2_storage_ptr",
"typeString": "uint256[2]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3217,
"mutability": "mutable",
"name": "startTime",
"nameLocation": "272:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "264:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3216,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "264:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3219,
"mutability": "mutable",
"name": "saltNonce",
"nameLocation": "295:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "287:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3218,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "287:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3221,
"mutability": "mutable",
"name": "signature",
"nameLocation": "325:9:18",
"nodeType": "VariableDeclaration",
"scope": 3224,
"src": "310:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3220,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "310:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "184:154:18"
},
"returnParameters": {
"id": 3223,
"nodeType": "ParameterList",
"parameters": [],
"src": "347:0:18"
},
"scope": 3244,
"src": "163:185:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "2beb3dbf",
"id": 3238,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "evolveChip",
"nameLocation": "361:10:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3236,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3226,
"mutability": "mutable",
"name": "to",
"nameLocation": "385:2:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "377:10:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3225,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "377:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3229,
"mutability": "mutable",
"name": "tokenIds",
"nameLocation": "410:8:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "393:25:18",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3227,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "393:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3228,
"nodeType": "ArrayTypeName",
"src": "393:9:18",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3231,
"mutability": "mutable",
"name": "startTime",
"nameLocation": "432:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "424:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3230,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "424:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3233,
"mutability": "mutable",
"name": "saltNonce",
"nameLocation": "455:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "447:17:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3232,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "447:7:18",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3235,
"mutability": "mutable",
"name": "signature",
"nameLocation": "485:9:18",
"nodeType": "VariableDeclaration",
"scope": 3238,
"src": "470:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3234,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "470:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "371:127:18"
},
"returnParameters": {
"id": 3237,
"nodeType": "ParameterList",
"parameters": [],
"src": "507:0:18"
},
"scope": 3244,
"src": "352:156:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "773c3fff",
"id": 3243,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "useSignature",
"nameLocation": "521:12:18",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3241,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3240,
"mutability": "mutable",
"name": "signature",
"nameLocation": "549:9:18",
"nodeType": "VariableDeclaration",
"scope": 3243,
"src": "534:24:18",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 3239,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "534:5:18",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "533:26:18"
},
"returnParameters": {
"id": 3242,
"nodeType": "ParameterList",
"parameters": [],
"src": "568:0:18"
},
"scope": 3244,
"src": "512:57:18",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 3245,
"src": "134:437:18",
"usedErrors": []
}
],
"src": "32:540:18"
},
"compiler": {
"name": "solc",
"version": "0.8.10+commit.fc410830.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.4.4",
"updatedAt": "2022-10-20T05:02:25.331Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}