@vporton/future-contracts
Version:
Ethereum accounts bid on future financing (essentially, transfer money from the future) - smart contracts
1,327 lines (1,326 loc) • 112 kB
JSON
{
"contractName": "IERC1155",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
}
],
"name": "TransferBatch",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "TransferSingle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "value",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "URI",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "owners",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
}
],
"name": "balanceOfBatch",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeBatchTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-1155\",\"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.\"}},\"title\":\"ERC-1155 Multi Token Standard basic interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/user/Projects/future-contracts/contracts/ERC1155/IERC1155.sol\":\"IERC1155\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"/home/user/Projects/future-contracts/contracts/ERC1155/IERC1155.sol\":{\"keccak256\":\"0x93f2ea6e3228ac86e6d61cb19183262fe0212cd3c19262862780c03d8a1bf177\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://fc0a1a85c74b6d5a03769aa15d5dadcf8414f1eee32ddd8d2b0a913035968bb7\",\"dweb:/ipfs/QmTB2CAcLJpBPUjNengEtfmZ9HfqKhkwm8p74XewHJFySi\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xf70bc25d981e4ec9673a995ad2995d5d493ea188d3d8f388bba9c227ce09fb82\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd970f51e3a77790c2f02b5b1759827c3b897c3d98c407b3631e8af32e3dc93c\",\"dweb:/ipfs/QmPF85Amgbqjk3SNZKsPCsqCw8JfwYEPMnnhvMJUyX58je\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity ^0.7.1;\n\nimport \"@openzeppelin/contracts/introspection/IERC165.sol\";\n\n/**\n @title ERC-1155 Multi Token Standard basic interface\n @dev See https://eips.ethereum.org/EIPS/eip-1155\n */\nabstract contract IERC1155 is IERC165 {\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\n\n event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);\n\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n event URI(string value, uint256 indexed id);\n\n function balanceOf(address owner, uint256 id) public view virtual returns (uint256);\n\n function balanceOfBatch(address[] memory owners, uint256[] memory ids) public view virtual returns (uint256[] memory);\n\n function setApprovalForAll(address operator, bool approved) external virtual;\n\n function isApprovedForAll(address owner, address operator) external view virtual returns (bool);\n\n function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external virtual;\n\n function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data) external virtual;\n}\n",
"sourcePath": "/home/user/Projects/future-contracts/contracts/ERC1155/IERC1155.sol",
"ast": {
"absolutePath": "/home/user/Projects/future-contracts/contracts/ERC1155/IERC1155.sol",
"exportedSymbols": {
"IERC1155": [
3658
],
"IERC165": [
3910
]
},
"id": 3659,
"license": "LGPL-3.0-or-later",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3548,
"literals": [
"solidity",
"^",
"0.7",
".1"
],
"nodeType": "PragmaDirective",
"src": "46:23:6"
},
{
"absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol",
"file": "@openzeppelin/contracts/introspection/IERC165.sol",
"id": 3549,
"nodeType": "ImportDirective",
"scope": 3659,
"sourceUnit": 3911,
"src": "71:59:6",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 3551,
"name": "IERC165",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3910,
"src": "280:7:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IERC165_$3910",
"typeString": "contract IERC165"
}
},
"id": 3552,
"nodeType": "InheritanceSpecifier",
"src": "280:7:6"
}
],
"contractDependencies": [
3910
],
"contractKind": "contract",
"documentation": {
"id": 3550,
"nodeType": "StructuredDocumentation",
"src": "132:117:6",
"text": "@title ERC-1155 Multi Token Standard basic interface\n@dev See https://eips.ethereum.org/EIPS/eip-1155"
},
"fullyImplemented": false,
"id": 3658,
"linearizedBaseContracts": [
3658,
3910
],
"name": "IERC1155",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"id": 3564,
"name": "TransferSingle",
"nodeType": "EventDefinition",
"parameters": {
"id": 3563,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3554,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nodeType": "VariableDeclaration",
"scope": 3564,
"src": "315:24:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3553,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "315:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3556,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 3564,
"src": "341:20:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3555,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "341:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3558,
"indexed": true,
"mutability": "mutable",
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 3564,
"src": "363:18:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3557,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "363:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3560,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nodeType": "VariableDeclaration",
"scope": 3564,
"src": "383:10:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3559,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "383:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3562,
"indexed": false,
"mutability": "mutable",
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 3564,
"src": "395:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3561,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "395:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "314:95:6"
},
"src": "294:116:6"
},
{
"anonymous": false,
"id": 3578,
"name": "TransferBatch",
"nodeType": "EventDefinition",
"parameters": {
"id": 3577,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3566,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nodeType": "VariableDeclaration",
"scope": 3578,
"src": "436:24:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3565,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "436:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3568,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 3578,
"src": "462:20:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3567,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "462:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3570,
"indexed": true,
"mutability": "mutable",
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 3578,
"src": "484:18:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3569,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "484:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3573,
"indexed": false,
"mutability": "mutable",
"name": "ids",
"nodeType": "VariableDeclaration",
"scope": 3578,
"src": "504:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3571,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "504:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3572,
"nodeType": "ArrayTypeName",
"src": "504:9:6",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3576,
"indexed": false,
"mutability": "mutable",
"name": "values",
"nodeType": "VariableDeclaration",
"scope": 3578,
"src": "519:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3574,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "519:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3575,
"nodeType": "ArrayTypeName",
"src": "519:9:6",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "435:101:6"
},
"src": "416:121:6"
},
{
"anonymous": false,
"id": 3586,
"name": "ApprovalForAll",
"nodeType": "EventDefinition",
"parameters": {
"id": 3585,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3580,
"indexed": true,
"mutability": "mutable",
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 3586,
"src": "564:21:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3579,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "564:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3582,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nodeType": "VariableDeclaration",
"scope": 3586,
"src": "587:24:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3581,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "587:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3584,
"indexed": false,
"mutability": "mutable",
"name": "approved",
"nodeType": "VariableDeclaration",
"scope": 3586,
"src": "613:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 3583,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "613:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "563:64:6"
},
"src": "543:85:6"
},
{
"anonymous": false,
"id": 3592,
"name": "URI",
"nodeType": "EventDefinition",
"parameters": {
"id": 3591,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3588,
"indexed": false,
"mutability": "mutable",
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 3592,
"src": "644:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3587,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "644:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3590,
"indexed": true,
"mutability": "mutable",
"name": "id",
"nodeType": "VariableDeclaration",
"scope": 3592,
"src": "658:18:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3589,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "658:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "643:34:6"
},
"src": "634:44:6"
},
{
"functionSelector": "00fdd58e",
"id": 3601,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3597,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3594,
"mutability": "mutable",
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 3601,
"src": "703:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3593,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "703:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3596,
"mutability": "mutable",
"name": "id",
"nodeType": "VariableDeclaration",
"scope": 3601,
"src": "718:10:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3595,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "718:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "702:27:6"
},
"returnParameters": {
"id": 3600,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3599,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3601,
"src": "759:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3598,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "759:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "758:9:6"
},
"scope": 3658,
"src": "684:84:6",
"stateMutability": "view",
"virtual": true,
"visibility": "public"
},
{
"functionSelector": "4e1273f4",
"id": 3613,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOfBatch",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3608,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3604,
"mutability": "mutable",
"name": "owners",
"nodeType": "VariableDeclaration",
"scope": 3613,
"src": "798:23:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 3602,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "798:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 3603,
"nodeType": "ArrayTypeName",
"src": "798:9:6",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3607,
"mutability": "mutable",
"name": "ids",
"nodeType": "VariableDeclaration",
"scope": 3613,
"src": "823:20:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3605,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "823:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3606,
"nodeType": "ArrayTypeName",
"src": "823:9:6",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "797:47:6"
},
"returnParameters": {
"id": 3612,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3611,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3613,
"src": "874:16:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 3609,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "874:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 3610,
"nodeType": "ArrayTypeName",
"src": "874:9:6",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "873:18:6"
},
"scope": 3658,
"src": "774:118:6",
"stateMutability": "view",
"virtual": true,
"visibility": "public"
},
{
"functionSelector": "a22cb465",
"id": 3620,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setApprovalForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3618,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3615,
"mutability": "mutable",
"name": "operator",
"nodeType": "VariableDeclaration",
"scope": 3620,
"src": "925:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3614,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "925:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3617,
"mutability": "mutable",
"name": "approved",
"nodeType": "VariableDeclaration",
"scope": 3620,
"src": "943:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 3616,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "943:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "924:33:6"
},
"returnParameters": {
"id": 3619,
"nodeType": "ParameterList",
"parameters": [],
"src": "974:0:6"
},
"scope": 3658,
"src": "898:77:6",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "external"
},
{
"functionSelector": "e985e9c5",
"id": 3629,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isApprovedForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3625,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3622,
"mutability": "mutable",
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 3629,
"src": "1007:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3621,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1007:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 3624,
"mutability": "mutable",
"name": "operator",
"nodeType": "VariableDeclaration",
"scope": 3629,
"src": "1022:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3623,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1022:7:6",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1006:33:6"
},
"returnParameters": {
"id": 3628,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3627,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3629,
"src": "1071:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 3626,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1071:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1070:6:6"
},
"scope": 3658,
"src": "981:96:6",
"stateMutability": "view",
"virtual": true,
"visibility": "external"
},
{
"functionSelector": "f242432a",
"id": 3642,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3640,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3631,
"mutability": "mutable",
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 3642,
"src": "1109:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3630,